Re:Monoliths Are the Future
by JMTQp8lwXL on Thursday January 30, 2020 @01:46PM
(#22194062)
Whether or not your system intentionally ended up with this architecture, GraphQL provides a unified way of fetching the data. You'll still have to implement the details of how to fetch from the various services, but it gives people who just want read access to everything a clean abstraction for doing so.
[ Parent
| on HN ]
REST can do the exact same thing.
Re:Monoliths Are the Future
by nathankunicki on Thursday January 30, 2020 @02:04PM
(#22194279)
With less flexibility, and more round trips.
I am not sure about that. Both RESTful APIs and GraphQL APIs need to be designed and flexibility is basicaly a measure of how good your API design is. I don't see how GraphQL is intrinsically more flexible.
> With less flexibility, and more round trips
That all depends on the API.
Re:Monoliths Are the Future
by nathankunicki on Thursday January 30, 2020 @08:17PM
(#22198035)
Sure - but if you ever want it to be as flexible as GQL, you need to implement...a query language?