Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input object type meta #1236

Open
yaserrahimi opened this issue Jul 27, 2020 · 2 comments
Open

input object type meta #1236

yaserrahimi opened this issue Jul 27, 2020 · 2 comments

Comments

@yaserrahimi
Copy link

yaserrahimi commented Jul 27, 2020

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

like this:

class GasUnitInput(graphene.InputObjectType):
    class Meta:
        model = GasUnit
@art1415926535
Copy link

This functionality can only be implemented in integration modules:

@janosroden
Copy link

I started using https://github.com/tOgg1/graphene-django-cud recently, it works well so far. Take a look if you're using Django.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants