Skip to content

Commit 54f6d59

Browse files
committed
Merge pull request #119 from josephsavona/patch-1
Clarify handling of @skip/@include directives
2 parents 570e1ee + 914c62a commit 54f6d59

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
@@ -781,8 +781,7 @@ query myQuery($someTest: Boolean) {
781781
}
782782
```
783783

784-
The `@skip` directive has precedence over the `@include` directive should both
785-
be provided in the same context.
784+
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.
786785

787786

788787
## Starting types

0 commit comments

Comments
 (0)