GraphQL Introduction
facebook.github.io
GraphQL Introduction
1–10 of 53 posts
Re: GraphQL Introduction
#2[0] https://github.com/RickWong/react-transmit
[1] http://www.getbreezenow.com/
[2] https://www.youtube.com/watch?v=WiO1f6h15c8
P.S. Also, GraphNoQL [3] came out quickly after the announcement, but there's been no progress ever since.
Re: GraphQL Introduction
#3The client application should drive the decisions about what data to fetch. After all it's the client that knows what it is actually going to be doing with the data, not the server. Current approaches like having a "fields" option on a REST endpoint are at best a hacky approximation to this.
Re: GraphQL Introduction
#4Re: GraphQL Introduction
#5As an ex-Facebook employee, I can't wait for this to be released to the public. It is hard for me to overstate how much this infrastructure makes building products a joy, not to mention the tremendous developer and server efficiency that can be attained. I miss having the GraphQL stack so much when working on my own stuff. The client application should drive the decisions about what data to fetch. After all it's the…
Re: GraphQL Introduction
#6Good job, it works.
Re: GraphQL Introduction
#7Re: GraphQL Introduction
#8As an ex-Facebook employee, I can't wait for this to be released to the public. It is hard for me to overstate how much this infrastructure makes building products a joy, not to mention the tremendous developer and server efficiency that can be attained. I miss having the GraphQL stack so much when working on my own stuff. The client application should drive the decisions about what data to fetch. After all it's the…
Re: GraphQL Introduction
#9Re: GraphQL Introduction
#10As an ex-Facebook employee, I can't wait for this to be released to the public. It is hard for me to overstate how much this infrastructure makes building products a joy, not to mention the tremendous developer and server efficiency that can be attained. I miss having the GraphQL stack so much when working on my own stuff. The client application should drive the decisions about what data to fetch. After all it's the…
I'm curious to learn how API response caching is affected by GraphQL. In a REST setup, there's a possibility that API responses can be cached. But if the response structure is dictated by the client, it seems like responses might differ and not be cacheable.
On the server you end up caching at lower levels in the stack. For example a query for user(id: 123456) {id, name} is going to need data from a key-value store containing user info. That access can easily be cached with something like memcache, saving load on the database. Cache-invalidation problems are also much easier to solve at these layers.