GraphQL is the King, R-I-P Rest
medium.com
medium.com
However, once canned ORMs or datastores that natively understand GraphQL (like dgraph) become available, the ecosystem will definitely enable rapid integration -- provided we keep in mind the lessons learned about user-supplied queries from the early SQL-on-the-web days.
[1] https://hn.algolia.com/?query=niftich%20graphql&sort=byDate&...
Yup, and it also forces you to sacrifice programming language portability. Kind of important in a microservice scenario where you might want to have multiple distinct services written in different languages that support the same set of GraphQL types.
People don't seem to realize that there is a whole separate dedicated schema language for GraphQL that will eventually replace the mediocre embedded DSLs. The only reason the current implementations all use the embedded DSLs is because implementing a parser for the custom schema language is non-trivial.
There are a lot of things that I really like about GraphQL, but I think it would have been saner if they had aimed for a way to express the schemas and queries in something like JSON that everybody already speaks.
https://www.elastic.co/guide/en/elasticsearch/guide/current/...
https://www.elastic.co/guide/en/elasticsearch/reference/curr...
https://www.elastic.co/guide/en/elasticsearch/reference/curr...
And I thought ElasticSearch API is REST. And it is JSON.
Github dumped REST for GraphQL http://thenewstack.io/github-dumps-rest-graphql-api/
Rise of GrapQL https://www.youtube.com/watch?v=bPlOGKPLtqM&list=PLpi1lPB6op...
GraphQL is permission agnostic which allows you to develop your own methods. But there are a lot of nice implementations floating around [1].
>How do I know what's available to query, without reading docs?
Introspection[2].