Skip to content

Commit ef4bbca

Browse files
authored
[Editorial]: Use non-null for if variable in @Skip and @include (#722)
1 parent 6d506eb commit ef4bbca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 3 -- Type System.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,7 @@ In this example `experimentalField` will only be queried if the variable
18631863
`$someTest` has the value `false`.
18641864

18651865
```graphql example
1866-
query myQuery($someTest: Boolean) {
1866+
query myQuery($someTest: Boolean!) {
18671867
experimentalField @skip(if: $someTest)
18681868
}
18691869
```
@@ -1883,7 +1883,7 @@ In this example `experimentalField` will only be queried if the variable
18831883
`$someTest` has the value `true`
18841884

18851885
```graphql example
1886-
query myQuery($someTest: Boolean) {
1886+
query myQuery($someTest: Boolean!) {
18871887
experimentalField @include(if: $someTest)
18881888
}
18891889
```

0 commit comments

Comments
 (0)