Re:You Shouldn’t Use GraphQL
by taylodl on Friday November 12, 2021 @01:44PM
(#29203008)
I think of REST interfaces as being equivalent to a materialized view and GraphQL as being equivalent to an ad-hoc SQL query. The trade-off is performance and flexibility. GraphQL provides a great amount of flexibility, albeit with a cost to performance. A REST interface is able to provide high performance, but not nearly the amount of flexibility. Which tool you use depends on which factor is most important for your situation.
[ Parent
| on HN ]
There are no comments on this comment yet.