From 393f13dd90ddadbb1b8fa3197e1b9a0b85ac9212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20C=C3=B4t=C3=A9?= <85751624+cotpat@users.noreply.github.com> Date: Fri, 21 Jul 2023 08:57:06 +0200 Subject: [PATCH] Update 02_configuring_your_schema.md - Doc spoke of four keywords, but example shows seven. Corrected instances of "four" in docs with "seven". - Made it more explicit which keywords are being referred to (I think I got it right) --- .../01_getting_started/02_configuring_your_schema.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/02_Developer_Guides/19_GraphQL/01_getting_started/02_configuring_your_schema.md b/en/02_Developer_Guides/19_GraphQL/01_getting_started/02_configuring_your_schema.md index 399c1cd85..f331877db 100644 --- a/en/02_Developer_Guides/19_GraphQL/01_getting_started/02_configuring_your_schema.md +++ b/en/02_Developer_Guides/19_GraphQL/01_getting_started/02_configuring_your_schema.md @@ -142,7 +142,7 @@ There are two approaches to namespacing: ##### Namespacing by filename -If the filename is named one of the four keywords above, it will be implicitly placed +If the filename is named one of the seven keywords used in the `app/_graphql/schema.yml` example above, it will be implicitly placed in the corresponding section of the schema - e.g. any configuration added to `app/_graphql/config.yml` will be implicitly added to `SilverStripe\GraphQL\Schema\Schema.schemas.default.config`. @@ -177,7 +177,7 @@ will not work). ##### Namespacing by directory name -If you use a parent directory name (at any depth) of one of the four keywords above, it will +If you use a parent directory name (at any depth) of one of the seven keywords, it will be implicitly placed in the corresponding section of the schema - e.g. any configuration added to a `.yml` file in `app/_graphql/config/` will be implicitly added to `SilverStripe\GraphQL\Schema\Schema.schemas.default.config`.