title: How to combine a mutation and a query in a single query?
body: <p>I have an operation <code>getFoo</code> that requires that the user is authenticated in order to access the resource.</p>
  
  <p>User authenticates using a mutation <code>authenticate</code>, e.g.</p>
  
  <pre><code>mutation {
    authenticate (email: "foo", password: "bar") {
      id
    }
  }
  </code></pre>
  
  <p>When user is authenticated, two things happen:</p>
  
  <ol>
  <li>The request context is enriched with the authentication details</li>
  <li>A cookie is created</li>
  </ol>
  
  <p>However, I would like to combine authentication and <code>getFoo</code> method invocation into a single request, e.g. </p>
  
  <pre><code>mutation {
    authenticate (email: "foo", password: "bar") {
      id
    }
  }
  query  {
    getFoo {
      id
    }
  }
  </code></pre>
  
  <p>The latter produces a syntax error.</p>
  
  <p>Is there a way to combine a mutation with a query?</p>