-
Notifications
You must be signed in to change notification settings - Fork 51
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
[tcgc] move to mutators #2305
[tcgc] move to mutators #2305
Conversation
All changed packages have been documented.
Show changes
|
You can try these changes here
|
373224a
to
2b18100
Compare
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.
i'm wondering if current impl could cover the real service case: https://github.com/Azure/azure-rest-api-specs/blob/13d840307175afdc951f74ffded36d5cdda2da91/specification/ai/Face/client.tsp#L59. face use another namespace to do customization. but customization namespace could only depend on one version. i'm wondering the type under that namespace could successfully mutate to old version (v1_1_preview_1
).
we don't have such tests in tcgc, i believe we should add one.
packages/typespec-client-generator-core/test/types/body-model-property-types.test.ts
Outdated
Show resolved
Hide resolved
packages/typespec-client-generator-core/test/types/enum-types.test.ts
Outdated
Show resolved
Hide resolved
…cgc/migrateToMutator
fixes #2215