From 8ce9ddb1a033c1e791e625bdda5ecce377a7e6db Mon Sep 17 00:00:00 2001 From: ash Date: Wed, 7 Feb 2024 09:16:44 +0000 Subject: [PATCH] Document how to generate GraphQL schema --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e124f07..2ab81d6 100644 --- a/README.md +++ b/README.md @@ -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/