Skip to content
Discussion options

You must be logged in to vote

I'm afraid you cannot, as this JSON structure does not align with the spec. You can use the "extensions" entry to add custom fields though.

You should see what's possible in the GraphQLError contract and how you can turn application exceptions into GraphQL errors in Spring for GraphQL.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bbakerman
Comment options

Answer selected by bbakerman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants