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

Instrumentation support for dataloader #175

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

bbakerman
Copy link
Member

@bbakerman bbakerman commented Jan 20, 2025

This is now complete and ready to be merged.

DataLoaderOptions is now immutable and hence some teaks t the original code had been done

@@ -561,7 +561,7 @@ public Builder<K, V> options(DataLoaderOptions options) {
return this;
}

DataLoader<K, V> build() {
public DataLoader<K, V> build() {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed in previous PR

@bclozel
Copy link

bclozel commented Feb 28, 2025

Hey Brad,

I have used this PR in my local setup to implement spring-projects/spring-graphql#1034 and it works really well. I can now instrument dataloader calls without conflating them with regular data fetcher calls:

image

So, all good from my perspective and ready to adopt this feature when it's out.
Thanks for the awesome work!

@dondonz dondonz added this to the 4.0.0 milestone Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants