Features
apiquery-languagetypedflexible
Pros and Cons
Ventajas
- + Client requests only what it needs
- + Typed schema
- + One request for related data
- + Introspection for tooling
- + Avoids over/under-fetching
Desventajas
- - Additional complexity
- - Caching harder than REST
- - N+1 query problems
- - Learning curve
Casos de Uso
- APIs with complex relationships
- Mobile apps (bandwidth limited)
- When clients need flexibility