title: GraphQL multiple queries in one request
body: <p>I have some groups created by users in my database. Each group has multiple members in it. This is what a typical group looks like:</p>
  
  <pre><code>{
      "groupName": "some-group-name",
      "userIds": ["001", "002", "003"]
  }
  </code></pre>
  
  <p>I also have a separate node of users in my database. This is what a user looks like:</p>
  
  <pre><code>{
      "id": "001",
      "userName": "some-unique-username"
  }
  </code></pre>
  
  <p>I want to list every single group and its members. So, it would be:</p>
  
  <ul>
  <li><p>group1</p>
  
  <ul>
  <li>user1 id; user1 name;</li>
  <li>user2 id; user2 name;</li>
  </ul></li>
  <li><p>group2</p>
  
  <ul>
  <li>user3 id; user3 name;</li>
  <li>user4 id; user4 name;</li>
  </ul></li>
  </ul>
  
  <p>and so on...</p>
  
  <p>How would it be possible (if at all) to fetch these groups and their user ids and also query for users by id and return a single JSON containing all the data only with one request?</p>
  
  <p>Right now I'm just fetching some amount of groups and iterating over the <code>userIds</code> of each of them and sending a request for each user separately.
  I'm not asking about pagination or simple querying, I just want to get every group and the users inside those groups.</p>