title: How can I return enum options in GraphQL?
body: <p>I have an enum in a schema like this:</p>
  <pre><code>enum Classification {
    A
    B
    C
    D
  }
  </code></pre>
  <p>And the following query:</p>
  <pre><code>type Query {
    listClasification: Clasification
  }
  </code></pre>
  <p>Ant the resolver on the JS code is the following:</p>
  <pre><code>const classification = {
    A: 'A',
    B: 'B',
    C: 'C',
    D: 'D'
  };
  
  const resolvers = {
    Query: {
      listClasification: () =&gt; {return classification}
    },
  };
  </code></pre>
  <p>But when I execute the following query:</p>
  <pre><code>{
    listClasification 
  }
  </code></pre>
  <p>I got the following error:</p>
  <blockquote>
  <p>&quot;message&quot;: &quot;Enum &quot;Classification&quot; cannot represent value: { A:
  &quot;A&quot;, B: &quot;B&quot;, C: &quot;C&quot;, D: &quot;D&quot; }&quot;,</p>
  </blockquote>
  <p>Then, how can solve this error, and return all classifications in a query?</p>
  <p>Thanks</p>