Skip to content

Auto schema generation #299

@aprams

Description

@aprams

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions