Apollo GraphQL: Multiple Queries in One Component?
<p>I have a component that needs to query two entirely separate tables. What do the schema, query and resolver need to look like in this case? I've googled but haven't found examples yet. Thanks in advance for any info.</p>

<p><strong>UPDATE:</strong>
On Slack I see there may be a way to use <code>compose</code> for this purpose, e.g.:</p>



<pre class="lang-js prettyprint-override"><code>export default compose(
  graphql(query1, 
  ....),
  graphql(query2, 
  ....),
  graphql(query3, 
  ....),
  withApollo
)(PrintListEditPage)
</code></pre>

<p>Is there a way to have multiple declarations like this:</p>

<pre class="lang-js prettyprint-override"><code>const withMutations = graphql(updateName, {
  props({ mutate }) {
    return {
      updatePrintListName({ printListId, name }) {
        return mutate({
          variables: { printListId, name },
        });
      },
    };
  },
});
</code></pre>

<p>...that come before the call to <code>export default compose</code>?</p>