We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Describe the bug
I found kinda related issue #3092 and it was proposed to use wrapper types, but
module Types class XxUnionType < GraphQL::Schema::Union possible_types GraphQL::Types::Float, GraphQL::Types::String end end
works and generates
union XxUnion = Float | String
It probably shouldn't, because scalar types are not allowed in the unions by the spec (graphql/graphql-spec#215)
Versions
graphql version: 2.0.15
graphql
The text was updated successfully, but these errors were encountered:
Oops! Agreed this should not be possible.
Sorry, something went wrong.
8479e13
Merge pull request #4269 from rmosolgo/fix-union-possible-types-check
7772917
Only allow object types to be union types, fixes #4243
No branches or pull requests
Describe the bug
I found kinda related issue #3092 and it was proposed to use wrapper types, but
works and generates
It probably shouldn't, because scalar types are not allowed in the unions by the spec (graphql/graphql-spec#215)
Versions
graphql
version: 2.0.15The text was updated successfully, but these errors were encountered: