name: syn-graphql-dataloader
description: Operate, configure, troubleshoot, and manage GraphQL. Use for GraphQL engineering tasks, day-to-day operations, and production support.
GraphQL: the N+1 problem and batching
When to use
Use this skill for the N+1 problem and batching in GraphQL. This skill
specifically handles the N+1 problem and batching and nothing else in the
GraphQL family.
Procedure
Introduce DataLoader to batch and cache per-request field fetches and eliminate N+1 database round-trips.
Notes
This is the GraphQL skill dedicated to the N+1 problem and batching.
Sibling skills cover other GraphQL capabilities; this one
is the right choice only when the task is about the N+1 problem and batching.