Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not apply ContextDataFetcherDecorator to TrivialDataFetcher instances #983

Closed
wants to merge 1 commit into from

Conversation

osi
Copy link
Contributor

@osi osi commented May 23, 2024

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!)

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.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 23, 2024
@rstoyanchev rstoyanchev added this to the 1.3.1 milestone May 24, 2024
@rstoyanchev rstoyanchev added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels May 24, 2024
@rstoyanchev rstoyanchev self-assigned this May 24, 2024
@rstoyanchev rstoyanchev linked an issue May 24, 2024 that may be closed by this pull request
@rstoyanchev rstoyanchev changed the title do not apply the context decorator to TrivialDataFetcher instances Do not apply ContextDataFetcherDecorator to TrivialDataFetcher instances May 24, 2024
rstoyanchev pushed a commit that referenced this pull request Jun 3, 2024
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.

See gh-983
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ContextDataFetcherDecorator removes TrivialDataFetcher hint
3 participants