You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
If I use @ExceptionsHandler in my Resolvers I can't disable the use of the GraphQLErrorFromExceptionHandler. But I need to disable the feature!!
I think the problem is in the following class:
public class GraphQLErrorHandlerFactory {
public GraphQLErrorHandler create(ConfigurableApplicationContext applicationContext,
boolean exceptionHandlersEnabled) {
if (!factories.isEmpty() || exceptionHandlersEnabled) {
log.debug("Handle GraphQL errors using exception handlers defined in {} custom factories",
factories.size());
return new GraphQLErrorFromExceptionHandler(factories);
}
I think it should be if (!factories.isEmpty() && exceptionHandlersEnabled) and not || right?