Graphql.js now supports query merging
github.com
github.com
{
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
}
}
}
}
?