Re:Why not use GraphQL?
by jensneuse on Sunday November 08, 2020 @09:29AM
(#25026006)
The idea of a REST endpoint is to represent a resource, not a view. How will you bring good RESTful API design together with the requirement of wanting an API that serves one very specific view that depends on multiple REST APIs. This seems to be in conflict doesn't it? What's your idea on resolving this conflict without abandoning the principles of RESTful API design?
[ Parent
| on HN ]
Re:Why not use GraphQL?
by balfirevic on Sunday November 08, 2020 @10:09PM
(#25031105)
> The idea of a REST endpoint is to represent a resource, not a view
Resource is not what you think it is. The conflict you’re talking about doesn’t exist.