Skip to content

Fixed crash occurring when one sends a query containing type definitions #257

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

Merged

Conversation

NyanKiyoshi
Copy link
Contributor

Fixes #256

@Cito
Copy link
Member

Cito commented Oct 11, 2019

In GraphQL.js and GraphQL-core-next you can also pass a single node to GraphQLError. An alternative fix would be to also allow single nodes, but I think this fix is good enough.

@Cito Cito merged commit 5e0d87a into graphql-python:master Oct 11, 2019
@NyanKiyoshi NyanKiyoshi deleted the fix/crash/type-definition-query branch October 12, 2019 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Executing a GraphQL query containing types crashes
2 participants