Skip to content

Commit

Permalink
Clarify handling of @skip/@include directives
Browse files Browse the repository at this point in the history
per offline discussion
  • Loading branch information
josephsavona committed Nov 6, 2015
1 parent 570e1ee commit 914c62a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/Section 3 -- Type System.md
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,7 @@ query myQuery($someTest: Boolean) {
}
```

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


## Starting types
Expand Down

0 comments on commit 914c62a

Please sign in to comment.