logoalt Hacker News

dcreyesterday at 9:02 PM2 repliesview on HN

GraphQL is just a typed schema (good) with a server capable of serving any subset of the entire schema at a time (pain in the ass).


Replies

wrsyesterday at 9:14 PM

It doesn’t actually require that second part. Every time I’ve used it in a production system, we had an approved list of query shapes that were accepted. If the client wanted to use a new kind of query, it was performance tested and sometimes needed to be optimized before approval for use.

If you open it up for any possible query, then give that to uncontrolled clients, it’s a recipe for disaster.

show 3 replies
jlouisyesterday at 9:05 PM

No.

It's a way to transmit a program from client to server. It then executes that program on the server side.

show 1 reply