You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fact that an input is a oneOf type is not properly exported to the graphql-core library that strawberry sometimes uses internally. This is probably partly because that library does not really represent oneOf itself.
I generate schema files from this output, which kind of causes problems given that the @OneOf directive is missing.
I have a fix that works for my purposes with these branches in strawberry and graphql-core:
The fact that an input is a oneOf type is not properly exported to the graphql-core library that strawberry sometimes uses internally. This is probably partly because that library does not really represent oneOf itself.
I generate schema files from this output, which kind of causes problems given that the @OneOf directive is missing.
I have a fix that works for my purposes with these branches in strawberry and graphql-core:
https://github.com/colonelpanic8/strawberry/tree/ivan/support-one-of-export
https://github.com/colonelpanic8/graphql-core/tree/add_is_one_of_property
Upvote & Fund
The text was updated successfully, but these errors were encountered: