title: Apollo GraphQL schema + codegen converting Hasura/PostgreSQL scalar array to scalar
body: <p>I'm using Hasura to provide a GraphQL interface to a PostgreSQL table. If I have a table with an <code>integer[]</code> column, the command <code>apollo schema:download</code> is generating a <code>schema.json</code> with:</p>
  <pre><code>      {
          &quot;name&quot;: &quot;distances&quot;,
          &quot;description&quot;: null,
          &quot;type&quot;: {
            &quot;kind&quot;: &quot;SCALAR&quot;,
            &quot;name&quot;: &quot;_int4&quot;,
            &quot;ofType&quot;: null
          },
          &quot;defaultValue&quot;: null
        }
  </code></pre>
  <p>which is unfortunate because it doesn't convey the information that this field is an array. Naturally, when I use <code>apollo codegen:generate</code> the type is either morphed into <code>String</code> or just <code>_int4</code> if using the <code>--passthroughCustomScalars</code> flag.</p>
  <p>Is there a way to configure my graphql server (Hasura) or the apollo CLI to preserve the array type information?</p>