-
Notifications
You must be signed in to change notification settings - Fork 151
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
Polymorphism issue #36
Comments
Right, it's not implemented, but a good feature request. Will consider it in the next version, thanks! |
I forked the repo and had a little go at this here: https://github.com/yarax/swagger-to-graphql/pull/41/files Note that I actually copied in the current published npm version and overwrote the master version, so there are other items in the diff. The main functionality is just the changes in the |
I think the |
Hi,
On my swagger file i use the property allOf to do Polymorphism (see : https://swagger.io/specification/#models-with-composition-108) in one of my definition.
Here a sample:
I believe that the case is not managed i got an error
[Error: Cannot build primitive type "undefined"]
its working fine when i remove it.
BTW, Amazing project/idea !
The text was updated successfully, but these errors were encountered: