Skip to content

Commit d0cfa9a

Browse files
committed
formatting for skip/include overlap note
1 parent c589e2e commit d0cfa9a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

spec/Section 3 -- Type System.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,12 @@ query myQuery($someTest: Boolean) {
903903
}
904904
```
905905

906-
In the case that both the `@skip` and `@include` directives are provided in the same context, the field or fragment *must* be queried only if the `@skip` condition is false *and* the `@include` condition is true. Stated conversely, the field/fragment must *not* be queried if either the `@skip` condition is true *or* the `@include` condition is false.
906+
Note: Neither `@skip` nor `@include` has precedence over the other. In the case
907+
that both the `@skip` and `@include` directives are provided in on the same the
908+
field or fragment, it *must* be queried only if the `@skip` condition is false
909+
*and* the `@include` condition is true. Stated conversely, the field or fragment
910+
must *not* be queried if either the `@skip` condition is true *or* the
911+
`@include` condition is false.
907912

908913

909914
## Initial types

0 commit comments

Comments
 (0)