How can multiple queries be batched into a single request to GitHub's GraphQL API?
For example, how would you batch these 2 queries into a single request and receive a single response? And would this technique work with many more queries (say 200)?
{
repositoryOwner(login:"rails") {
repository(name:"rails") {
description
homepageURL
}
}
}
{
repositoryOwner(login:"github") {
repository(name:"graphql-client") {
description
homepageURL
}
}
}
(The GitHub GraphQL API can be experimented with at https://developer.github.com/early-access/graphql/explorer/)