Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

GQL sucks. Everything is 200, errors are custom, n+1 queries are rife. 304's don't exist.

There's nothing like debugging a client and looking for an error in the network tab at a sea of 200's.

Not allowed to see the data.. 200

Data not present.. 200

Mutated invalid data... 200

The idea that once a schema is done nothing else needs to be done on the BE.. As a BE dev you're constantly trying to optimise, and handle mutations. It adds a whole new level of complexity. REST is just so much simpler. Every endpoint can be cleaned up and optimised. Endpoints that are slow can be streamlined. Endpoints that return too much can be curtailed. Data can be preload and cached on the server, with zero config beyond Redis.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: