GraphQL Resolvers and Batching
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
A GraphQL query asks for fifty posts and each post's author, and your logs show fifty-one database queries. Explain how resolvers cause this and how a batching loader fixes it.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.