spring-boot/spring-boot-project/spring-boot-autoconfigure
Andy Wilkinson eda299df90 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-34526
2023-03-14 12:10:34 +00:00
..