title: typescript relay reactjs IRTransformer: Unknown kind `undefined`. using hasura
body: <p>Hi i got this error which i got before, but i forgot how i solved it.</p>
  <p>I created a new query for Relay but I get this error. I remember it has to do something with Typescript, but not sure what i did wrong.</p>
  <pre><code>ERROR:
  IRTransformer: Unknown kind `undefined`.
  error Command failed with exit code 100.
  </code></pre>
  <p>It is not pointing to a particular place in my code, so not sure which code snippet i should include...</p>
  <p>this is the query (but it could easily be another one):</p>
  <pre><code>const getEvent = `query CreateEventQuery {
  
  
  eetschema_event_connection(where: {group_id: {_eq: &quot;17ee3ff5-eae1-4482-9ad6-d791a46a9799&quot;}}) {
      edges {
        node {
          name
        }
      }
    }
  }
  `;
  </code></pre>
  <p>script I run is <code>yarn relay</code> and the problem is at the yarn-compile step</p>
  <pre><code>&quot;export-schema&quot;: &quot;get-graphql-schema https://XXXX.hasura.app/v1beta1/relay -h 'x-hasura-admin-secret=XXXXX' &gt; ./schema.graphql&quot;,
      &quot;relay-compile&quot;: &quot;relay-compiler --src=./src --schema=./schema.graphql --language typescript &quot;,
      &quot;relay&quot;: &quot;npm run export-schema &amp;&amp; npm run relay-compile&quot;,
  </code></pre>