graphql-community / koa-graphql

Create a GraphQL HTTP server with Koa.
MIT License
843 stars 61 forks source link

0.8.0 returns 500 on errors from GraphQLScalarType/parseValue #118

Closed giannisp closed 2 years ago

giannisp commented 5 years ago

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 commented 2 years ago

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