GraphQL Thoughts
- Intro Thoughts
- Promises
- Only Retrieve The Data You need
- Fewer requests
- Get Data in the appropriate shape
- Your query’s shape will match the shape of the response
- Moves much of the data filtering and parsing back to the server
- An API reference document for people using it
- Combine data from multiple systems in 1 response
- Subscriptions
- (Implied Promise) Look Ma, it’s almost JSON
- Counterargument
Intro Thoughts
I’ve been mostly avoiding GraphQL and watching from the sidelines. I’d been forming an opinion but wanted to actually understand it a bit better before really deciding.