Skip to content

Commit

Permalink
Update 02_configuring_your_schema.md
Browse files Browse the repository at this point in the history
- 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)
  • Loading branch information
cotpat committed Jul 21, 2023
1 parent 124933b commit 393f13d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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`.
Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit 393f13d

Please sign in to comment.