|
|
|
|
|
by filleokus
2900 days ago
|
|
After using GraphQL for over a year now I rarely miss the good old REST days. Certainly the declaration of schemas/models in the beginning is maybe more cumbersome compared to REST. But when that is in place is just so easy to work with, no more adding extra field in responses to avoid doing multiple unnecessary queries, just lovely. When mutating state with GraphQL the suggested approach seems to be to have "action based" endpoints, i.e "publishArticle", which resonates well with me. |
|
Moving flexibility to the client comes with all the inherent risk of that flexibility being available to (in a browser sense) a risky client.
RPC over REST is a solved problem IMO, arguments about REST RPC semantics become ideological after a while.