graphql-java-kickstart/graphql-spring-webclient

Customized result mapping and error handling

1096kc opened this issue · 1 comments

Currently in GraphQL-Spring-WebClient, if any error happens, a GraphQLErrorsException will be thrown with a list of GraphQLError. We have to catch thatGraphQLErrorsException and rethrow a customized exception if we want to have customized error handling logic. I'm just wondering instead of doing that, is it possible to just return a GraphQLResponse so that I can apply my own result mapping and error handling logic easier?

@oliemansm Any thoughts on this issue?