title: Ariadne graphql displaying Django choices in query
body: <p>I have a django model with Integer Choice fields</p>
  <pre><code>class issue_status(models.IntegerChoices):
    '''Status'''
  
    Open = 1
    Pending = 2
    Completed = 3
  
  
  
    class Issue(models.Model):
  
      person = models.ForeignKey('Person', on_delete=models.CASCADE,
                                 blank=False, null=False)
      name = models.CharField(max_length=100, null=True, blank=True)
      status = models.IntegerField(choices=issue_status.choices,
                                   blank=True, null=True)
      def __str__(self):
          return self.name
  </code></pre>
  <p>I have my graphql types and resolver defined like this</p>
  <pre><code>from ariadne import gql
  
  type_defs = gql(&quot;&quot;&quot;
  
  enum Status {
    Open
    Pending
    Completed
   }
  
  type Issue {
      id: ID
      person: Person!
      name: String
      status: Status
     }
  
  input IssueInput {
      id: ID
      person: PersonInput!
      name: String
      status: Status
     }
  
  input IssueUpdate {
      id: ID!
      person: PersonInput
      name: String
      status: Status
     }
  
  type Query {
      Issues(id: ID, name:String, ): [Issue]
  }
  &quot;&quot;&quot;)
  
  query = QueryType()
  
  @query.field(&quot;Issue&quot;)
  def resolve_Issue(*_, name=None, id=None,):
      if name:
          filter = Q(name__icontains=name)
          return Issue.objects.filter(filter)
      if id:
          filter = Q(id__exact=id)
          return Issue.objects.filter(filter)
      return Issue.objects.all()
  </code></pre>
  <p>When I do a gql query I get null values in the status field:</p>
  <pre><code>{
    &quot;data&quot;: {
      &quot;Issues&quot;: [
        {
          &quot;person&quot;: {
            &quot;name&quot;: &quot;Test1&quot;
          },
          &quot;id&quot;: &quot;1&quot;,
          &quot;name&quot;: &quot;Things&quot;,
          &quot;status&quot;: null
        },
        {
          &quot;person&quot;: {
            &quot;name&quot;: &quot;Test1&quot;
          },
          &quot;id&quot;: &quot;2&quot;,
          &quot;name&quot;: &quot;Clown and clown&quot;,
          &quot;status&quot;: null
        }
      ]
    },
    &quot;errors&quot;: [
      {
        &quot;message&quot;: &quot;Enum 'Status' cannot represent value: 1&quot;,
        &quot;locations&quot;: [
          {
            &quot;line&quot;: 9,
            &quot;column&quot;: 5
          }
        ],
        &quot;path&quot;: [
          &quot;Issues&quot;,
          0,
          &quot;status&quot;
        ],
        &quot;extensions&quot;: {
          &quot;exception&quot;: null
        }
      },
      {
        &quot;message&quot;: &quot;Enum 'Status' cannot represent value: 1&quot;,
        &quot;locations&quot;: [
          {
            &quot;line&quot;: 9,
            &quot;column&quot;: 5
          }
        ],
        &quot;path&quot;: [
          &quot;Issues&quot;,
          1,
          &quot;status&quot;
        ],
        &quot;extensions&quot;: {
          &quot;exception&quot;: null
        }
      }
    ]
  }
  </code></pre>
  <p>How do I setup the Integer choices in Ariadne to return String values for the integer choices? In the docs there is an example using it in the resolver but I am not sure how to include or return it in the query:</p>
  <pre><code>import enum
  from ariadne import EnumType
  class Status(enum.IntEnum):
    Open = 1
    Pending = 2
    Completed = 3
  </code></pre>