django-restql icon indicating copy to clipboard operation
django-restql copied to clipboard

Auto schema generation

Open aprams opened this issue 3 years ago • 0 comments

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!

aprams avatar Feb 16 '22 08:02 aprams