title: How do i connect two types in GraphQL?
body: <p>So I have two types in GraphQL:</p>
  
  <blockquote>
    <p>article.mdx</p>
  </blockquote>
  
  <pre><code>---
  title: "Post n.1"
  category: "Category"
  ---
  
  Post Content
  </code></pre>
  
  <blockquote>
    <p>categories.json</p>
  </blockquote>
  
  <pre><code>[
    {
      "name": "Category",
      "description": "This is a description",
      "order": 1
    }
  ]
  </code></pre>
  
  <p>I want to query my post type in order to have this kind of result:</p>
  
  <pre><code>{
   "node": {
     "title": Post n.1
     "category": {
       "name": "Category",
       "description": "This is a description",
       "order": 1
     }
   }
  }
  </code></pre>
  
  <p>How can i do this? I'm currently using GatsbyJS! Thanks.</p>