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

graphql / graphql-js / 819
98%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2016 10:28PM UTC
Jobs 1
Files 130
Run time 5s
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
819

push

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
```

6126 of 6165 relevant lines covered (99.37%)

1271.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 819.1 22 Mar 2016 10:28PM UTC 0
99.37
Travis Job 819.1
Source Files on build 819
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #819
  • fdafe327 on github
  • Prev Build on master (#812)
  • Next Build on master (#822)
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