3 ms·
Myt pet peeve with GraphQL is, why not just use JS objects, and use JSON for serialization!? query = {user: {id, name}}
by z3t4 7y ago
Myt pet peeve with GraphQL is, why not just use JS objects, and use JSON for serialization!? query = {user: {id, name}}
- tango12 7y agoThere are quite a few ongoing attempts at creating a JS fluent client for GraphQL. We covered a bunch of them here: https://hasura.io/blog/fluent-graphql-clients-how-to-write-queries-like-a-boss/ https://hasura.io/blog/fluent-graphql-clients-how-to-write-q...