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

Is there a way to override the "Base class" elimination but only for specific types #1466

Closed
richardpark-msft opened this issue Nov 18, 2024 · 1 comment · Fixed by #1468
Closed

Comments

@richardpark-msft
Copy link
Member

Event Grid system events uses the inheritance model in our TypeSpec models. typespec-go helpfully just removes those vestigial types, which is great, but sometimes you need to keep those types because they are actually models, not just composition types:

This might just become a question with an easy answer (just decorate this with 'x'), but otherwise this is a bug. I have a workaround for now, where I literally just copied the old models over, but I'd love to remove those soon.

@tadelesh
Copy link
Member

after this pr merge, you could use the new release to try with @usage.

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

2 participants