-
Notifications
You must be signed in to change notification settings - Fork 41
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][getAllOperations]: alias model is not calculated #69
Comments
we shouldn't be returning models that are aliases, so if anything we need to make sure that we're not returning aliases |
Current |
follow up with tsp team to see how to separate them. |
Folk the alias problem into another issue: #300 |
This issue is likely a usage calculation problem. Will investigate soon. |
closing in favor of #300 |
Describe the bug
I found that usage of alias model is not calculated as well. It's always
None
.To Reproduce
Try to compile the test case using
getAllOperations
branch: https://github.com/Azure/autorest.csharp/blob/31e7b662d82c01fa8e6725437c1daa2227a2aeb8/test/TestProjects/Spread-TypeSpec/Spread-TypeSpec.tsp#L97-L101Expected behavior
Anonymous model defined by an alias should be calculated.
The text was updated successfully, but these errors were encountered: