title: How to properly handle loading and partial states when executing a GraphQL query using ApolloClient?
body: <p>I'm working on a backend application that gathers data from GraphQL endpoints and I'm using <code>ApolloClient</code> to do so:</p>
  <pre><code>const client = new ApolloClient({
      uri: uri,
      link: new HttpLink({ uri: uri, fetch }),
      cache: new InMemoryCache({
          addTypename: false,
      }),
  });
  </code></pre>
  <p>When I use the <code>query</code> function:</p>
  <pre><code>client.query({
      query: query,
      variables: vars,
      fetchPolicy: &quot;no-cache&quot;,
  })
  </code></pre>
  <p>it returns an <code>ApolloQueryResult</code> object:</p>
  <pre><code>ApolloQueryResult&lt;T&gt; = {
      data: T;
      errors?: ReadonlyArray&lt;GraphQLError&gt;;
      error?: ApolloError;
      loading: boolean;
      networkStatus: NetworkStatus;
      partial?: boolean;
  }
  </code></pre>
  <p>My problem is that I've checked the docs and it doesn't say how I should handle <code>loading</code> and <code>partial</code> states. I'm not using React and I have the impression that these are only used for frontend calls, but I want to be sure.</p>
  <p>I tested it and <code>partial</code> and <code>loading</code> is always <code>undefined</code> for me, no matter what endpoint I call.</p>
  <p>What is the proper way to handle these from node? Can it happen that these are not <code>undefined</code>?</p>