GraphQL
Inspired by API Design in System Design Interviews w/ Meta Staff Engineer
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
- API Design in System Design Interviews w/ Meta Staff Engineer inspired this note