title: Dynamic (Unique) Objects in GraphQl
body: <p>I'm looking at graphql. Is it possible to define an object with arbitrary attributes? Let's say I have some data like:</p>
  
  <pre><code>editOptions : { boxes : 3 , size : { width: 23,height:32} , color: #434343 }, etc...}
  </code></pre>
  
  <p>and this is in:</p>
  
  <pre><code>{ ... , box : { editOptions : {...} }, ... }
  </code></pre>
  
  <p>Let's say that editOptions is never with the same structure, sometimes not be useful to have the color, just for example sakes. In mongoose one can just define the type to something like:</p>
  
  <blockquote>
    <p>editOptions : {}</p>
  </blockquote>
  
  <p>These editOptions are usually unique for each box. With some attributes being shared but most being unique. </p>
  
  <p>So my question is, is there a way to do this? or is this bad practice and I should change my models.</p>
  
  <p>Thank you.</p>