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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 18 Mar 2016 03:07AM UTC
Jobs 1
Files 130
Run time 6s
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
808

Pull #318

travis-ci

leebyron
[RFC] Directives in schema language

This adds directives to schema language and to the utilities that use it (schema parser, and buildASTSchema). Directives are one of the few missing pieces from representing a full schema in the schema language.

Note: the schema language is still experimental, so there is no corresponding change to the spec yet.

DirectiveDefinition :
  - directive @ Name ArgumentsDefinition? on DirectiveLocations

DirectiveLocations :
  - Name
  - DirectiveLocations | Name

Example:

```
directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT

directive @include(if: Boolean!)
  on FIELD
   | FRAGMENT_SPREAD
   | INLINE_FRAGMENT
```
Pull Request #318: [RFC] Directives in schema language

49 of 49 new or added lines in 6 files covered. (100.0%)

6104 of 6146 relevant lines covered (99.32%)

1274.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 808.1 18 Mar 2016 03:07AM UTC 0
99.32
Travis Job 808.1
Source Files on build 808
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #808
  • Pull Request #318
  • PR Base - fine-grain-directives (#803)
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