Re:Ask HN: When should I use GraphQL
by I_am_tiberius on Tuesday May 28, 2024 @06:05PM
(#40506121)
Doesn't the fragment (property selection) feature of graphql only solve the frontend network load part? I mean, I doubt anyone creates an SQL query based on the graphql query properties, right? That means the network load between backend and db server is consistent, independent from which fields are selected via graphql.
[ Parent
| on HN ]
Re:Ask HN: When should I use GraphQL
by satvikpendem on Tuesday May 28, 2024 @06:11PM
(#40506164)
You could use a backend framework that optimizes the SQL as well (I believe Hasura does this), or just have a string interpolated select statement in the SQL.