Skip to content

Customized result mapping and error handling #11

Closed
@1096kc

Description

@1096kc

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions