spring-projects / spring-graphql

Spring Integration for GraphQL
https://spring.io/projects/spring-graphql
Apache License 2.0
1.52k stars 300 forks source link

Do not apply ContextDataFetcherDecorator to TrivialDataFetcher instances #983

Closed osi closed 4 months ago

osi commented 4 months ago

the applyDecorator method is working to exclude things from graphql-java. the TrivialDataFetcher interface is used to know when to perform instrumentation and is a part of the public SPI and should be preserved.

(checkstyle told me to use tabs, but then that looks weirds on GH - apologies if that is wrong!)