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

[Feature request] Support discriminator and GraphQL interfaces #61

Open
ehmicky opened this issue Apr 17, 2018 · 0 comments
Open

[Feature request] Support discriminator and GraphQL interfaces #61

ehmicky opened this issue Apr 17, 2018 · 0 comments

Comments

@ehmicky
Copy link

ehmicky commented Apr 17, 2018

GraphQL supports polymorphism using GraphQLInterfaceType. OpenAPI supports it with the discriminator property (which has a different syntax in 2.0 and 3.0). It would be nice to bring the two together.

This feature request might represent quite lots of work for something I'm not sure people would use, but I thought I'd still submit to see what you think.

@ehmicky ehmicky changed the title Support discriminator and GraphQL interfaces [Feature request] Support discriminator and GraphQL interfaces Apr 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants