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

Does it make sense if the models come out of the same template have the same crossLanguageDefinitionId? #1297

Open
ArcturusZhang opened this issue Aug 6, 2024 · 1 comment · May be fixed by #1353
Assignees
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library

Comments

@ArcturusZhang
Copy link
Member

I found that the models come out of the same template will always have the same crossLanguageDefinitionId, does this make sense?
For example, Paged<Foo> and Paged<Bar> will always have the same crossLanguageDefinitionId of Azure.Core.Page.

@ArcturusZhang ArcturusZhang added the lib:tcgc Issues for @azure-tools/typespec-client-generator-core library label Aug 6, 2024
@tadelesh
Copy link
Member

tadelesh commented Aug 6, 2024

need to add special logic to handle crossLanguageDefinitionId name of templated model

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 a pull request may close this issue.

4 participants