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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 14 Dec 2017 02:05AM UTC
Jobs 1
Files 180
Run time 17s
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
2891

push

travis-ci

leebyron
Validate literals in a single rule with finer precision

This generalizes the "arguments of correct type" and "default values of correct type" to a single rule "values of correct type" which has been re-written to rely on a traversal rather than the utility function `isValidLiteralValue`. To reduce breaking scope, this does not remove that utility even though it's no longer used directly within the library. Since the default values rule included another validation rule that rule was renamed to a more apt "variable default value allowed".

This also includes the original errors from custom scalars in the validation error output, solving the remainder of #821.

Closes #821

4074 of 4576 branches covered (89.03%)

162 of 162 new or added lines in 12 files covered. (100.0%)

10058 of 10208 relevant lines covered (98.53%)

1582.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
src/validation/__tests__/harness.js
6
100.0
src/utilities/TypeInfo.js
7
100.0
src/utilities/isValidLiteralValue.js
Jobs
ID Job ID Ran Files Coverage
1 2891.1 14 Dec 2017 02:05AM UTC 0
98.53
Travis Job 2891.1
Source Files on build 2891
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2891
  • 9655a46e on github
  • Next Build on literal-validation (#2901)
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