• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

graphql / graphql-js / 619
99%
master: 98%

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 13 Nov 2015 03:53AM UTC
Jobs 1
Files 125
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
619

push

travis-ci

leebyron
[validation] Allow differing directives.

The currently supported directives: @skip and @include do not create an ambiguous or erroneous query when used on conflicting fields in a divergent fashion. In fact, this may be intended when many different conditions should result in the same outcome. For example:

```graphql
{
  field @include(if: $firstCondition)
  field @include(if: $secondCondition)
}
```

This example could be considered as the intent of fetching `field` given `$firstCondition || $secondCondition`. While this example is contrived, there are more complex examples where such fields are nested within fragments that this condition is reasonable.

2 of 2 new or added lines in 1 file covered. (100.0%)

5397 of 5428 relevant lines covered (99.43%)

4625.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 619.1 13 Nov 2015 03:53AM UTC 0
99.43
Travis Job 619.1
Source Files on build 619
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #619
  • 9b11df2e on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc