title: How to Inherit or Extend typeDefs in GraphQL
body: <p>I have a <code>type User</code>. Users can also be a <code>type TeamMember</code>. The only difference between a <code>User</code> and <code>TeamMember</code> is an added field <code>teamRole: String</code>. So, I’d love to do something like the following to avoid having to redundantly define all the user's fields…</p>
  
  <pre><code>  type User {
      id: ID!,
      name: String,
      (many other field defs)
    }
  
    type TeamMember extends User  {
      teamRole: String,
    }
  </code></pre>
  
  <p>Anyone aware of a syntax for this? I thought <code>extend</code> would be the answer, but it seems more like javascript’s <code>prototype</code></p>