3 ms·
> This is where the abstraction breaks down. No. In REST, the client is responsible for resolving IDs into entities. In GraphQL, that responsibility largely m
by cuddlecake 7y 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.
- yxhuvud 7y agoIt 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.
- cuddlecake 7y agoWell, but that's not breaking down GraphQL as an abstraction, isn't it?