title: Extends generic type in Graphql (NestJs)
body: <p>im new in graphql.
  I have trouble with input type extends generic type.
  Source code like this:</p>
  <pre><code>function Edge&lt;T&gt;(Node: Type&lt;T&gt;) {
    class EdgeType {
      @Field(() =&gt; String)
      company: string;
  
      @Field(() =&gt; String)
      lang: string;
  
      @Field(() =&gt; String)
      collection: string;
  
      @Field(() =&gt; String)
      user_id: string;
  
      @Field(() =&gt; String, { nullable: true })
      token: string;
  
      @Field(() =&gt; Node)
      condition: T;
  
      @Field(() =&gt; [Node], { nullable: true })
      data: T[];
    }
    return EdgeType;
  }
  
  @InputType()
  export class EdgeMasterData extends Edge(MasterData) {
    @Field(() =&gt; String, { nullable: true })
    _key: string;
  }
  </code></pre>
  <p>I only hay one field is <strong>_key</strong>, cannot get field in Edge..</p>
  <p>Actually i did a lot of time research but didn't solve the problem</p>
  <p>Need help !!!</p>