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

[Bug][getAllModels] OperatoinStatus not found even filter-out-core-models : false #204

Closed
Tracked by #4300
archerzz opened this issue Feb 1, 2024 · 0 comments · Fixed by #305
Closed
Tracked by #4300
Assignees
Labels
bug Something isn't working lib:tcgc Issues for @azure-tools/typespec-client-generator-core library

Comments

@archerzz
Copy link
Member

archerzz commented Feb 1, 2024

Describe the bug
I bumped to typespec 0.52.0 (along with tcgc 0.38.9).
See cadl-ranch LRO test case: https://github.com/Azure/cadl-ranch/blob/c611311c3d36a3048a3077137cbd4e6be762d034/packages/cadl-ranch-specs/http/azure/core/lro/standard/main.tsp#L217

getLroMetadata return the finalEnvelopResult as OperatoinStatus which is a foundation type. But you cannot get it through getAllModels() even I set filter-out-core-models to false.
image

To Reproduce
Try to parse the cadl-ranch test case with filter-out-core-models: false.

Expected behavior
I understand OperationStatus should be found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 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