Skip to content

Commit 477919e

Browse files
committed
Better description for repeatable directives
1 parent 218e0da commit 477919e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

spec/Section 3 -- Type System.md

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

1663-
Directive may be defined as repeatable per location with the `repeatable` keyword:
1663+
A directive may be defined as repeatable per location with the `repeatable` keyword.
1664+
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:
16641667

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

0 commit comments

Comments
 (0)