graphql-java-kickstart/graphql-java-servlet

Unable to handle exceptions raised by validation on parsing prior to GraphQL execution

heowc opened this issue · 0 comments

heowc commented

Describe the bug

For example, if I make a query request with an invalid enum value, the handle method cannot handle it because GraphQLInvoker.invoke(...) will throw an exception.

Expected behavior
We should be able to handle it in our onErrror method.