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

graphql / graphql-js / 2901 / 1
99%
master: 98%

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

14 Dec 2017 09:40PM UTC coverage: 98.651% (+0.1%) from 98.531%
2901.1

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

4080 of 4578 branches covered (89.12%)

10095 of 10233 relevant lines covered (98.65%)

1580.54 hits per line

Source Files on job 2901.1
  • Tree
  • List 0
  • Changed 25
  • Source Changed 10
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2901
  • Travis Job 2901.1
  • 8ce887af on github
  • Prev Job for on literal-validation (#2891.1)
  • Next Job for on literal-validation (#2904.1)
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