Re:The Performance Cost of Node.js and GraphQL
by ShadowBanThis01 on Monday October 09, 2023 @04:08AM
(#37818147)
And thus I don't really see the point. When it first came out, I hoped GraphQL would allow me to craft my queries in one place, and reduce the tedium and error-proneness of writing client and server code to pack and unpack the data structures. But it doesn't, as far as I could tell.
Thanks for the reply.
Re:The Performance Cost of Node.js and GraphQL
by JCharante on Monday October 09, 2023 @11:17AM
(#37821317)
You might want to look into tRPC and how the client has the definitions for the server. It’s a really nice dev experience
Re:The Performance Cost of Node.js and GraphQL
by ShadowBanThis01 on Tuesday October 10, 2023 @12:57AM
(#37828636)
Thanks! I will.
However, please keep in mind graphql is an API convention, much as REST is used. REST doesn't provide a way for joins either. Both are not direct DB access.