Isn'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):<p><pre><code> {
post(id: $id) {
id
title
text
}
}
{
commentsOfPost: comments(postId: $postId) {
comment
owner {
name
}
}
}
</code></pre>
Shouldn't it just be<p><pre><code> {
post(id: $id) {
id
title
text,
comments {
comment
owner {
name
}
}
}
}
?</code></pre>