Limit GraphQL Query Cost

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

  • hard
  • Pro

Someone sends your public GraphQL API a deeply nested query, friends of friends of friends ten levels down, and it takes the server down. Explain how you'd protect a GraphQL API from expensive queries.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →