3 ms·
Graphql.js now supports query merging
- ilkhan4 8y agoIsn't the problem this is trying to solve what GraphQL already solves? Instead of two different queries (one for the master record, one for the details): { post(id: $id) { id title text } } { commentsOfPost: comments(postId: $postId) { comment owner { name } } } Shouldn't it just be { post(id: $id) { id title text, comments { comment owner { name } } } } ?