strawberry-graphql / strawberry-django

Strawberry GraphQL Django extension
https://strawberry.rocks/docs/django
MIT License
415 stars 120 forks source link

Document the export_schema command #463

Closed thclark closed 5 months ago

thclark commented 9 months ago

Feature Request Type

Description

I was figuring out how to export my schema, since the new version of graphiql doesn't seem to allow you. It was a bit of a struggle. With graphene there was a management command to do it; and the penny dropped that this should have the same.

Little did I know that there was already an export_schema command. Let's put it in the docs!

Upvote & Fund

Fund with Polar

brunodantas commented 5 months ago

I see this command is in the docs, seems like this can be closed?

https://strawberry.rocks/docs/guides/schema-export

patrick91 commented 5 months ago

@brunodantas we haven't document how to export from django, strawberry's default export command won't work with strawberry django 😊

Ckk3 commented 5 months ago

Hi, I will create a PR to add this to the docs!

Ckk3 commented 5 months ago

PR created! Please let me know if this any changes is necessary.

bellini666 commented 5 months ago

Fixed by https://github.com/strawberry-graphql/strawberry-django/pull/546