Skip to content

Native DataLoader dispatch strategy without Instrumentation #3447

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

Merged
merged 21 commits into from
Feb 19, 2024

Conversation

andimarek
Copy link
Member

@andimarek andimarek commented Feb 13, 2024

Reimplement the DataLoader dispatch strategy as a native implementation without the usage of Instrumentation.
If you are using the automatic DataLoader dispatching provided by the DataLoaderDispatcherInstrumentation you don't need to do anything: the behaviour is exactly the same.

Breaking change details

This is a breaking change as it removes the DataLoaderDispatcherInstrumentation (and related classes) and the related method GraphQL.doNotAddDefaultInstrumenation.

If a user doesn't want to use the build in dispatching they can opt out with GraphQL.doNotAutomaticallyDispatchDataLoader.

@andimarek andimarek changed the title wip Native DataLoader dispatch strategy Feb 13, 2024
@andimarek andimarek changed the title Native DataLoader dispatch strategy Native DataLoader dispatch strategy without Instrumentation Feb 13, 2024
@andimarek andimarek added the breaking change requires a new major version to be relased label Feb 14, 2024
@andimarek andimarek added this pull request to the merge queue Feb 19, 2024
Merged via the queue into master with commit 4cfbb35 Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change requires a new major version to be relased
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants