A simple GraphQL Query Builder experiment.
__tests__queries- Domain specific Query API, e.g.UserQuerymutations- Same as above, but mutations.types- TypeScript interfaces directly corresponding to GQL schema types, e.g.User. Can be generated typedefs alsoGraphqlClient.ts- GraphQL client + error handling. Can be any client, I use@urlq/corehere.QueryBuilder.ts- Query Builder implementation and some TypeScript magic