From 81a47cdefa514782f9ffce1bd4f8d875bcd922af Mon Sep 17 00:00:00 2001 From: Ckk3 Date: Thu, 6 Jun 2024 18:12:36 -0300 Subject: [PATCH] addind better texts --- docs/guide/export-schema.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/export-schema.md b/docs/guide/export-schema.md index 2285247a..15b9e6c8 100644 --- a/docs/guide/export-schema.md +++ b/docs/guide/export-schema.md @@ -4,11 +4,11 @@ The `export_schema` management command provided here is specifically designed for use with `strawberry_django`. The [default Strawberry export command](https://strawberry.rocks/docs/guides/schema-export) won't work with `strawberry_django` schemas because `strawberry_django` extends the base functionality of Strawberry to integrate with Django models and queries. This command ensures proper schema export functionality. -The `export_schema` management command allows you to export a GraphQL schema defined using the `strawberry_django` library. This command converts the schema definition to a text format, which can then be saved to a file or printed to the console. +The `export_schema` management command allows you to export a GraphQL schema defined using the `strawberry_django` library. This command converts the schema definition to GraphQL schema definition language (SDL), which can then be saved to a file or printed to the console. ## Usage -To use the `export_schema` command, you need to specify the location of the schema. Optionally, you can provide a file path to save the schema. If no path is provided, the schema will be printed to the console. +To use the `export_schema` command, you need to specify the schema location(e.g., myapp.schema). Optionally, you can provide a file path to save the schema. If no path is provided, the schema will be printed to the console. ```sh python manage.py export_schema --path @@ -16,7 +16,7 @@ python manage.py export_schema --path ### Arguments -- ``: The location of the schema module. This should be a dot-separated Python path (e.g., myapp.schema). +- ``: The location of the schema module. This should be a dot-separated Python path (e.g., myapp.schema). For example, if your schema is located in the `schemas` directory in the `myapp` django app, you would use `myapp.schemas`. ### Options