neo4j-contrib / django-neomodel

Neomodel plugin for Django
MIT License
287 stars 55 forks source link

Cannot integrate with graphene-django #22

Open avadhanij opened 6 years ago

avadhanij commented 6 years ago

Not sure whose issue this is, but just putting it out here. Graphene provides Python library for providing graphql interfaces.

Graphene-django provides django integration, and models can be provided to the Graphql scheme in the following way -

class Meta:
    model = mymodel

The requirement is that the model be of type django.db.models.Model.

Unfortunately, django-neomodel's DjangoNode is not, and so the integration fails. Any thoughts?

michaelspeed commented 4 years ago

did anyone solve this?