graphql-python / graphql-python/graphene

input object type meta

Open
#1,236 2 comments 0 reactions 0 assignees View on GitHub
✨ enhancement
Dominant language
Python
Stars
8.2k
Forks
818
PR merge metrics
No merged PRs in 30d

Description

is there any way to pass a model as meta class to InputObjectType class?

like this:
```
class GasUnitInput(graphene.InputObjectType):
class Meta:
model = GasUnit
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.