Skip to content

Commit ceb95e3

Browse files
committed
expose more in example directive
1 parent b3bff47 commit ceb95e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 2 -- Language.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,9 +1215,9 @@ In this example, a directive is defined which can be used to annotate a
12151215
fragment definition:
12161216

12171217
```
1218-
directive @someAnnotation on FRAGMENT_DEFINITION
1218+
directive @someAnnotation(arg: String) on FRAGMENT_DEFINITION
12191219

1220-
fragment SomeFragment on SomeType @someAnnotation {
1220+
fragment SomeFragment on SomeType @someAnnotation(arg: "abc") {
12211221
someField
12221222
}
12231223
```

0 commit comments

Comments
 (0)