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] some models still have empty name #2417

Open
ArcturusZhang opened this issue Mar 19, 2025 · 0 comments
Open

[TCGC] some models still have empty name #2417

ArcturusZhang opened this issue Mar 19, 2025 · 0 comments
Assignees
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library

Comments

@ArcturusZhang
Copy link
Member

ArcturusZhang commented Mar 19, 2025

I first found in this test project: https://github.com/Azure/autorest.csharp/blob/main/test/TestProjects/MgmtTypeSpec/main.tsp

When I debug and print out sdkContext.sdkPackage.models.map(m => m.name), I got this:
Image

@ArcturusZhang ArcturusZhang added the lib:tcgc Issues for @azure-tools/typespec-client-generator-core library label Mar 19, 2025
github-merge-queue bot pushed a commit to microsoft/typespec that referenced this issue Mar 20, 2025
…ower case (#6400)

Fixes #6398

Reverts #6519
because this change uncovers a bug in TCGC:
Azure/typespec-azure#2417
We should be able to remove this check if TCGC fixes it.
@tadelesh tadelesh self-assigned this Mar 25, 2025
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

No branches or pull requests

2 participants