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

Yes, it's generally quite a bit nicer. It's not as nice as I hoped, but it's better. The old APIs are JSONAPI-style.

The main disappointment is that input types are not nearly as expressive as output types.



I'm only familiar with REST and not GraphQL, but this sounds interesting. Just from the name GraphQL sounds like a query language -- how can one do operations that change state (i.e., analogous to PUT/POST) rather than just query it? Thanks.


It’s a QL in the sense that it accepts a client specified schema, that looks how the client wants the data to be returned.

How does it mutate then? SQL can mutate, I’m not sure why this would be any different. Basically, like SQL’s UPDATE, and INSERT, GQL can have “methods” associated with parts of the schema.


The name is a little misleading in that regard. GraphQL has mutations that tell the server to change data rather than just return a query.


Thanks. That helps!




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: