-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue diagnostic for a templated model with a template parameter that is not used. #5494
base: main
Are you sure you want to change the base?
Conversation
All changed packages have been documented.
|
You can try these changes here
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure that we want to do this
import { createTestHost } from "../../src/testing/test-host.js"; | ||
import { TestHost } from "../../src/testing/types.js"; | ||
|
||
describe("compiler: unused template parameter in model template", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove top level describe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello @timotheeguerin I add more tests to test template parameters in model template
, operation template
and interface template
. Each type of template I create a describe for it to sub-group.
packages/compiler/test/server/unused-template-parameter.test.ts
Outdated
Show resolved
Hide resolved
66e16cd
to
55b8f4f
Compare
…emplate parameters in linter
Fix #181
Fix #5488
Fix #5489