HACKER Q&A
📣 burtonator

What do you think of GraphQL?


I created a poll on Twitter here:

https://twitter.com/socializ3r/status/1527721872296665089

... go vote but would love to hear your thoughts on GraphQL.

I'm not going to bias the vote by giving my personal opinion but would love to hear yours.


  👤 taubek Accepted Answer ✓
Personaly, I'm fan of Cypher. We just published a blog post about different graph query languages few days ago.

https://memgraph.com/blog/graph-database-query-languages-you...


👤 frosted-flakes
Did you know you can create polls here on HN instead of linking to Twitter?

https://news.ycombinator.com/newpoll


👤 Sohcahtoa82
When I first saw GraphQL, I was like "This is some overengineered shit that is going to be the next cargo cult"

Then I got actual exposure to it, and I think it's amazing in certain scenarios. You can easily make CRUD apps that allow a front-end to pick which database rows you want to update, and you create a metadata file that describes the database and applies permissions.

You get so many things for free, and the result is you have far less code to write and fewer bugs, especially around RBAC.

That being said, like many technologies, there will be people that try to use it for things it shouldn't be used for.


👤 vermasque
Compared to REST APIs, I like how it eliminates the coarse-grained vs. fine-grained decision for designing queries in APIs. You can just spec out the model and let the clients decide what they need.