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

Auto schema generation #299

Open
aprams opened this issue Feb 16, 2022 · 0 comments
Open

Auto schema generation #299

aprams opened this issue Feb 16, 2022 · 0 comments

Comments

@aprams
Copy link

aprams commented Feb 16, 2022

Hello there,

thanks for the great library. Our frontend team is now looking into integrating the newly enabled queries. A GraphQL schema would be awesome for something like https://www.graphql-code-generator.com to automatically generate a lot of boilerplate code.

Is there support or a workaround for this? Technically all the data is there. Graphene offers it like this:
./manage.py graphql_schema --schema tutorial.quickstart.schema --out schema.json

Side question: the playground offers a single endpoint /get/ and takes a specified model. How would I integrate something like that (which is even closer to "standard" graphql) into my backend?

Thanks in advance!

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

No branches or pull requests

1 participant