We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The example here https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ can map cleanly to a sum type in typescript. I don't believe the discriminator is currently analyzed however. This would enable narrowing in the client for polymorphic objects.
The text was updated successfully, but these errors were encountered:
This is in the roadmap for the upcoming 3.1 improvements!
Sorry, something went wrong.
drwpow
Successfully merging a pull request may close this issue.
The example here https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/ can map cleanly to a sum type in typescript. I don't believe the discriminator is currently analyzed however. This would enable narrowing in the client for polymorphic objects.
The text was updated successfully, but these errors were encountered: