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] support emit code model #1912

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

[tcgc] support emit code model #1912

wants to merge 14 commits into from

Conversation

tadelesh
Copy link
Member

@tadelesh tadelesh commented Nov 26, 2024

fix: #1892

There are three ways to get the code model after TCGC conversion:

  1. Use TCGC as an emitter to emit the code model: tsp compile . --emit=@azure-tools/typespec-client-generator-core
  2. Output the TCGC code model when used by language’s emitter: set exportTCGCoutput to true when createSdkContext
  3. In Azure playground, select @azure-tools/typespec-client-generator-core emitter

@azure-sdk
Copy link
Collaborator

azure-sdk commented Nov 26, 2024

All changed packages have been documented.

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

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

support emit code model

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[tcgc] emit output of tcgc
2 participants