Interview knowledge

GraphQL

Growingest.Started 7 Sept 20261 min read#system-design#engineering

Inspired by API Design in System Design Interviews w/ Meta Staff Engineer

Where it sits: API design

This is good for when clients need to choose which fields to use and make complex joins in 1 query.

With graphql, it's easy to introduce the n+1 query problem where you join a small amount of data rather than batching, you just need to be careful

Sources