Skip to content

MongoEngineConversionError: Don't know how to convert the MongoEngine field <class 'mongoengine.fields.StringField'> (<class 'type'>) #151

@Ahmedn1

Description

@Ahmedn1

When I have a list field like this:
some_field = graphene.List(graphene.String)
Then I build a MongoEngineObjectType for it:

class new_ObjectType(MongoengineObjectType):
    class Meta:
        model = BaseObjectType

I get this error because this method convert_field_to_list calls this method convert_mongoengine_field which always raises the exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions