logoalt Hacker News

tshaddox • today at 3:23 AM • 1 reply • view on HN

> It's flexible, but it adds too much undo complexity to a system that adopts it.

Of course, this is valid reasoning up until the point where you end up with a REST API with a comparable amount of complexity. If you end up with REST endpoints that accepts params for which fields and nested relationships to include in the response, then you've got most of the complexity of GraphQL.


Replies

zero_shift • today at 9:06 AM

Except worse, right? As much as I understand the critique of GQL, many "REST" APIs are just as open ended and chaotic, except they don't even standardise on how to parameterise them