The Overfetching Battle: Is GraphQL Still Worth It in 2026?
GraphQL promised to end 'overfetching' (getting more data than you need) and 'underfetching' (making multiple calls). But it introduced a 'complexity tax.'
The Case for GraphQL
- Self-Documenting: Introspection makes API discovery effortless.
- Client Sovereignty: Let the UI decide exactly which fields it needs.
- Strong Typing: Apollo and Relay provide amazing DX with automatic types.
The Renaissance of REST
With the rise of tools like TRPC and Zod, REST-like APIs now have the same type-safety as GraphQL without the complex schema management.
- Caching: Standard HTTP caching just works with REST.
- Security: Granular authorization is easier than with one monolithic
/graphqlendpoint.
The Synthesis Approach
Many modern teams use GraphQL for public-facing APIs (where flexibility is key) and TRPC or REST for internal services (where speed and simplicity win).