Re:Airbnb Is Moving Faster at Scale with GraphQL and Apollo
by mattbillenstein on Saturday January 12, 2019 @08:38PM
(#18894461)
GraphQL removes a lot of the REST boilerplate on the backend -- you define the graphql schema, and the clients can fetch it in any shape they want -- especially helpful for supporting different clients that want the data in different shapes depending on what the view is. ie, a web vs mobile view, or a customer web view vs one that might be for internal tools, etc
[ Parent
| on HN ]
Re:Airbnb Is Moving Faster at Scale with GraphQL and Apollo
by aboutruby on Saturday January 12, 2019 @08:59PM
(#18894556)
I prefer having either too much information in the response for each case (I'm not operating at Google/Facebook-scale), and then other endpoints for sub-resources (both individual and lists).