Skip to content

Commit 8391a1e

Browse files
leebyronspawnia
andcommitted
Apply suggestions from code review
Co-authored-by: Benedikt Franke <[email protected]>
1 parent 71ccd58 commit 8391a1e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

spec/Section 3 -- Type System.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,10 +1660,10 @@ fragment SomeFragment on SomeType {
16601660
}
16611661
```
16621662

1663-
A directive may be defined as repeatable at any permitted location with the `repeatable`
1664-
keyword. Repeatable directives often useful when the same directive should be used with
1665-
different arguments at the one location, especially in cases where additional information
1666-
need to be provided in a form of directive via a type or a schema extension:
1663+
A directive may be defined as repeatable at any permitted location with the `repeatable`
1664+
keyword. Repeatable directives are often useful when the same directive should be used with
1665+
different arguments at a single location, especially in cases where additional information
1666+
needs to be provided to a type or schema extension via a directive:
16671667

16681668
```graphql example
16691669
directive @delegateField(name: String!) repeatable on OBJECT | INTERFACE

spec/Section 4 -- Introspection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,4 +418,4 @@ Fields
418418
locations this directive may be placed.
419419
* `args` returns a List of `__InputValue` representing the arguments this
420420
directive accepts.
421-
* `isRepeatable` must return a Boolean which permits using the directive multiple times at the same location.
421+
* `isRepeatable` must return a Boolean that indicates if the directive may be used repeatedly at a single location.

spec/Section 5 -- Validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1440,7 +1440,7 @@ query @skip(if: $foo) {
14401440
**Formal Specification**
14411441

14421442
* For every {location} in the document for which Directives can apply:
1443-
* Let {directives} be the set of Directives which apply to {location} and not marked as `repeatable`.
1443+
* Let {directives} be the set of Directives which apply to {location} and are not `repeatable`.
14441444
* For each {directive} in {directives}:
14451445
* Let {directiveName} be the name of {directive}.
14461446
* Let {namedDirectives} be the set of all Directives named {directiveName}

0 commit comments

Comments
 (0)