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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 14 Dec 2017 09:48PM UTC
Jobs 1
Files 181
Run time 12s
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
2904

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

4078 of 4568 branches covered (89.27%)

171 of 171 new or added lines in 13 files covered. (100.0%)

10096 of 10230 relevant lines covered (98.69%)

1581.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/utilities/TypeInfo.js
2
100.0
src/validation/__tests__/harness.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/execution/values.js
Jobs
ID Job ID Ran Files Coverage
1 2904.1 14 Dec 2017 09:48PM UTC 0
98.69
Travis Job 2904.1
Source Files on build 2904
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2904
  • ae7cd24e on github
  • Prev 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