Configure exception resolver for `@GraphQlExceptionHandler` methods
To apply `@ControllerAdvice` exception handling to non-controller DataFetcher implementations like QueryDslDataFetcher, QueryByExampleDataFetcher, and others, this commit exposes the DataFetcherExceptionResolver from AnnotatedControllerConfigurer as a bean. The existing auto-configured for DataFetcherExceptionResolver then picks this up and passes it into the builder used to create the GraphQlSource. Closes gh-34526pull/34613/head
parent
45d36a5f42
commit
eda299df90
Loading…
Reference in New Issue