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

docs: Description + example of GraphQL dataloader #3290

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

Conversation

mschipperheyn
Copy link
Collaborator

@mschipperheyn mschipperheyn commented Dec 22, 2024

Description

I had a problem recently with a cart of more than 15 items becoming incredibly slow to load. It turned out to be the n+1 problem. And although it ultimately turned out to be another kind of n+1 issue than I thought, I decided to return to the topic of dataloaders and it turns out you can use them through standard nestjs

Since dataloaders are an important part of the GraphQL toolbox, but not broadly understood or used, I have added documentation + an example with a re-usable skeleton so people can get around the performance related issues it solves with ease.

Breaking changes

No

Screenshots

Checklist

📌 Always:

  • [ x] I have set a clear title
  • [x ] My PR is small and contains a single feature
  • [ x] I have checked my own PR

👍 Most of the time:

  • I have added or updated test cases
  • I have updated the README if needed

Copy link

vercel bot commented Dec 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Dec 23, 2024 9:43pm

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.

1 participant