Closed
Description
Given
class MyModel(Base):
foo = Column(ChoiceType([('X', 1)])
class MyModelNode(SQLAlchemyObjectType):
class Meta:
model= MyModel
I'm missing "foo" from the generated schema.
I believe this is due to the fact that convert_column_to_enum
is returning an instance of graphene.Enum
, which isn't a MountedScalar
or a Field
(notice convert_enum_to_enum
returns a Field
)