Skip to content

Support for GIS field types #390

@sanfilippopablo

Description

@sanfilippopablo

Right now, using a DjangoObjectType on a model that contains GIS fields (like django.contrib.gis.db.models.fields.PointField) will trigger an exception: Exception: Don't know how to convert the Django field myapp.MyModel.point (<class 'django.contrib.gis.db.models.fields.PointField'>).

It would be great to add support for this. Otherwise, is there any docs on how to create a custom Field with custom serialization/deserialization like in django-rest-framework?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions