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

graphql / graphql-js / 980
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 07 May 2016 01:54AM UTC
Jobs 1
Files 137
Run time 7s
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
980

push

travis-ci

leebyron
Deprecated directive

This adds a new directive as part of the experimental schema language:

```
directive @deprecated(reason: String = "No longer supported") on FIELD_DEFINITION | ENUM_VALUE
```

It also adds support for this directive in the schemaPrinter and buildASTSchema.

Additionally exports a new helper `specifiedDirectives` which is encoured to be used when addressing the collection of all directives defined by the spec. The `@deprecated` directive is optimistically added to this collection. While it's currently experimental, it will become part of the schema definition language RFC.

40 of 40 new or added lines in 5 files covered. (100.0%)

6939 of 7063 relevant lines covered (98.24%)

1375.4 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
6
100.0
src/utilities/__tests__/schemaPrinter-test.js
9
100.0
src/utilities/buildASTSchema.js
Jobs
ID Job ID Ran Files Coverage
1 980.1 07 May 2016 01:54AM UTC 0
98.24
Travis Job 980.1
Source Files on build 980
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #980
  • 6796fade on github
  • Prev Build on deprecated-directive (#978)
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