Skip to content

Commit 4efbbc0

Browse files
anmonteiroleebyron
authored andcommitted
Correct description of directive example (#506)
* Correct description of directive example fixes #505 * Fix 80c wrapping
1 parent 1884f41 commit 4efbbc0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/Section 3 -- Type System.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,8 +1649,7 @@ provide the `@deprecated` directive if representing deprecated portions of
16491649
the schema.
16501650

16511651
Directives must only be used in the locations they are declared to belong in.
1652-
In this example, a directive is defined which can be used to annotate a
1653-
fragment definition:
1652+
In this example, a directive is defined which can be used to annotate a field:
16541653

16551654
```graphql example
16561655
directive @example on FIELD

0 commit comments

Comments
 (0)