Skip to content

Commit

Permalink
formatting for skip/include overlap note
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron committed Apr 7, 2016
1 parent c589e2e commit d0cfa9a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,12 @@ query myQuery($someTest: Boolean) {
}
```

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.
Note: Neither `@skip` nor `@include` has precedence over the other. In the case
that both the `@skip` and `@include` directives are provided in on the same the
field or fragment, it *must* be queried only if the `@skip` condition is false
*and* the `@include` condition is true. Stated conversely, the field or fragment
must *not* be queried if either the `@skip` condition is true *or* the
`@include` condition is false.


## Initial types
Expand Down

0 comments on commit d0cfa9a

Please sign in to comment.