News for hackers. Stuff that matters.
Re:GraphiQL: GraphQL’s Killer App? by jesstaa on Thursday January 14, 2016 @01:18AM (#10899929)
Interactively querying REST APIS is a massive pain, doing anything useful requires multiple dependent queries, postman doesn't really help with that. Being able to query a graph interactively is actually useful, I've used graphiql to explore the data graph to figure out the query I need for the data requirements of a component before I start writing the actual component itself.
Re:GraphiQL: GraphQL’s Killer App? by davedx on Thursday January 14, 2016 @05:23AM (#10900503)
> doing anything useful requires multiple dependent queries

That really depends on your API! We have an orchestration layer that exists specifically so our front end does not have to run multiple queries all the time. Most of what our front end does is by running a very small handful of queries.

I think orchestration layers are something most growing/larger orgs strive for, in my experience.

Re:GraphiQL: GraphQL’s Killer App? by jesstaa on Thursday January 14, 2016 @07:53AM (#10901027)
If it's actually a REST API then it's going to take multiple queries. Certainly you can put an non REST API in front of it to reduce the queries. Every site does it and every site does it in a different way. GraphQL is built to solve this exact problem in a standard way.
Re:GraphiQL: GraphQL’s Killer App? by goldbrick on Thursday January 14, 2016 @04:34PM (#10904683)
https://news.ycombinator.com/item?id=9280223

What even uses GraphQL, other than Facebook?