title: How do you extend types in GraphQL?
body: <p>For example, a <code>Pet</code> is an <code>Animal</code> with an <code>owner</code> and <code>name</code>.</p>
  
  <pre><code>type Animal {
    species: String
  }
  
  type Pet extends Animal {
    owner: Owner
    name: String
  }
  </code></pre>