mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
cover enum case where choice begins with a number
This commit is contained in:
parent
dc5799e109
commit
c4febcde04
|
@ -3,7 +3,7 @@ from __future__ import absolute_import
|
|||
from django.db import models
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
CHOICES = ((1, "this"), (2, _("that")))
|
||||
CHOICES = ((1, "1: this"), (2, _("2: that")))
|
||||
|
||||
|
||||
class Pet(models.Model):
|
||||
|
|
|
@ -172,8 +172,8 @@ type Reporter {
|
|||
}
|
||||
|
||||
enum ReporterAChoice {
|
||||
THIS
|
||||
THAT
|
||||
A_1_THIS
|
||||
A_2_THAT
|
||||
}
|
||||
|
||||
enum ReporterReporterType {
|
||||
|
|
Loading…
Reference in New Issue
Block a user