title: Apollo-GraphQL field type for object with dynamic keys from input type
body: <p>Is there a way in apollo-graphql to define name of the field from values passed in input? Something like below, how to define key[i] here?</p>
  
  <pre><code>type response{
        key[0] : { 
              field1 : String,
              field2 : String
      }
  </code></pre>
  
  <p>where input is </p>
  
  <pre><code>input request {
         Keys: [String]
      }
  </code></pre>
  
  <p>response of rest call that I am trying to read</p>
  
  <pre><code>{
   "plan" :  {
       "key1" : {
             field1 : "value1"
             field2 : "value2"
        },
        "key2" : {
             field1 : "value1"
             field2 : "value2"
        }
      }
   }
  </code></pre>