Hacker News new | ask | show | jobs
by cuddlecake 2459 days ago
> This is where the abstraction breaks down.

No. In REST, the client is responsible for resolving IDs into entities.

In GraphQL, that responsibility largely moves into the backend.

This is not "breaking the abstraction", this is exactly what GraphQL is good for.

1 comments

It breaks down, when you write an API to solve a task, rather than when you write an API to expose resources and then let the consumer of the API define the task.
Well, but that's not breaking down GraphQL as an abstraction, isn't it?