Skip to content

Commit

Permalink
Document how to generate GraphQL schema
Browse files Browse the repository at this point in the history
  • Loading branch information
sersorrel committed Feb 7, 2024
1 parent f9fdc1b commit 8ce9ddb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ Run [MkDocs] server to view documentation:
poetry run mkdocs serve
```

To generate a GraphQL schema file:

```
poetry run strawberry export-schema softpack_core.graphql:GraphQL.schema > schema.graphql
```


[pip]: https://pip.pypa.io
[Python installation guide]: http://docs.python-guide.org/en/latest/starting/installation/
Expand Down

0 comments on commit 8ce9ddb

Please sign in to comment.