4 ms·
Hasura.io was mentioned above. I'd recommend you take a look at their schema extensions to do this. However, please keep in mind graphql is an API convention,
by gedy 3y ago
Hasura.io was mentioned above. I'd recommend you take a look at their schema extensions to do this.
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.
- ShadowBanThis01 3y agoAnd 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.
- JCharante 3y agoYou might want to look into tRPC and how the client has the definitions for the server. It’s a really nice dev experience
- ShadowBanThis01 3y agoThanks! I will.