graphene
graphene copied to clipboard
input object type meta
is there any way to pass a model as meta class to InputObjectType class?
like this:
class GasUnitInput(graphene.InputObjectType):
class Meta:
model = GasUnit
This functionality can only be implemented in integration modules:
I started using https://github.com/tOgg1/graphene-django-cud recently, it works well so far. Take a look if you're using Django.