GraphQL
Considerations tradeoffs
PROSβ
- Data fetching control - allow the client to specify what they need
- Using multiple datasource - can create a layer of abstraction for your microservices and acting as a mini API gateway
- Rapid prototyping - as you don't need to create multiple endpoints for your UI once it has been setup
CONSβ
- Peformance Issues - as everything is POST rather than GET, Caching issues
- Makes some tasks more complex- like file upload, authentication/authorization, error handling
- Deploying complications