Skip to content
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

Merged
merged 21 commits into from
Mar 6, 2025
Merged

[tcgc] move to mutators #2305

merged 21 commits into from
Mar 6, 2025

Conversation

iscai-msft
Copy link
Contributor

fixes #2215

@microsoft-github-policy-service microsoft-github-policy-service bot added the lib:tcgc Issues for @azure-tools/typespec-client-generator-core library label Mar 4, 2025
@azure-sdk
Copy link
Collaborator

azure-sdk commented Mar 4, 2025

All changed packages have been documented.

  • @azure-tools/typespec-client-generator-core
Show changes

@azure-tools/typespec-client-generator-core - feature ✏️

Move from projections to mutators

@azure-sdk
Copy link
Collaborator

azure-sdk commented Mar 4, 2025

You can try these changes here

🛝 Playground 🌐 Website

@iscai-msft iscai-msft force-pushed the tcgc/migrateToMutator branch from 373224a to 2b18100 Compare March 5, 2025 16:05
Copy link
Member

@tadelesh tadelesh left a 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.

@iscai-msft iscai-msft enabled auto-merge March 6, 2025 17:14
@iscai-msft iscai-msft added this pull request to the merge queue Mar 6, 2025
Merged via the queue into main with commit 1b7f760 Mar 6, 2025
22 checks passed
@iscai-msft iscai-msft deleted the tcgc/migrateToMutator branch March 6, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[tcgc] remove calls to deprecated projection functions
5 participants