Skip to content

Commit de42f08

Browse files
committed
expose more in example directive
1 parent 970061d commit de42f08

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
@@ -1173,9 +1173,9 @@ In this example, a directive is defined which can be used to annotate a
11731173
fragment definition:
11741174

11751175
```
1176-
directive @someAnnotation on FRAGMENT_DEFINITION
1176+
directive @someAnnotation(arg: String) on FRAGMENT_DEFINITION
11771177

1178-
fragment SomeFragment on SomeType @someAnnotation {
1178+
fragment SomeFragment on SomeType @someAnnotation(arg: "abc") {
11791179
someField
11801180
}
11811181
```

0 commit comments

Comments
 (0)