title: How to run external query through local resolver in Apollo Client
body: <p>I have one more question. On my server I have something like:</p>
  
  <pre><code>extend type Query {
    login (input: LoginInput!): Response
  }
  </code></pre>
  
  <p>On the client, I am trying to make the query:</p>
  
  <pre><code>query Login ($input: LoginInput!) {
    login (input: $input) {
      login @client
    }
  }
  </code></pre>
  
  <p>I have a resolver:</p>
  
  <pre><code>const login = parent =&gt; {
    console.log (`parent`, parent)
  }
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>  resolvers: {Response: {login}}
  </code></pre>
  
  <p>So far so good.</p>
  
  <p>The problem is - the resolver logs</p>
  
  <pre><code>{
    __typename: "Response"
  }
  </code></pre>
  
  <p>I don't actually get the object (the Response). If I copy the function to the server, I get it. This behavior is the same for <code>useQuery</code>, <code>useMutation</code>, <code>useLazyQuery</code>. Furthermore, if I change <code>login @client</code> to <code>success message</code>, then I get both, so there's doesn't seem to be a typo.</p>
  
  <p>Is there some gotcha that one has to keep in mind (I am not using async anywhere, assuming Apollo takes care of that), or should I submit an issue, because it looks like a bug?</p>
  
  <p>Cheers!</p>