Skip to content
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

0.8.0 returns 500 on errors from GraphQLScalarType/parseValue #118

Closed
giannisp opened this issue Feb 8, 2019 · 1 comment
Closed

0.8.0 returns 500 on errors from GraphQLScalarType/parseValue #118

giannisp opened this issue Feb 8, 2019 · 1 comment
Assignees

Comments

@giannisp
Copy link

giannisp commented Feb 8, 2019

Use case:
Throw a GraphQLError as part of a validation on a custom GraphQLScalarType.

0.8.0:
parseValue: returns a 500 response
0.7.5:
parseValue: returns 200 and the actual errors from GraphQL

@chentsulin chentsulin self-assigned this Nov 27, 2021
@chentsulin
Copy link
Member

This should be fixed in the latest release:
https://github.com/graphql-community/koa-graphql/releases/tag/v0.12.0

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

No branches or pull requests

2 participants