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
UnionType by design only allows object types as possible_types. The graphql spec places no such limit on unions:
Note that members of a union type need to be concrete object types; you can't create a union type out of interfaces or other unions.
http://graphql.org/learn/schema/#union-types
It's clear that it's only meant to outlaw those types and other types that can't have a value that is solely of that type.
The text was updated successfully, but these errors were encountered:
Apparently I'm reading the spec wrong. I'll take it up here: graphql/graphql-spec#215
Sorry, something went wrong.
No branches or pull requests
UnionType by design only allows object types as possible_types. The graphql spec places no such limit on unions:
http://graphql.org/learn/schema/#union-types
It's clear that it's only meant to outlaw those types and other types that can't have a value that is solely of that type.
The text was updated successfully, but these errors were encountered: