We need to adapt to changes in spring-projects/spring-graphql#398 and apply a similar behavior as `DataFetcherExceptionResolver` instances.