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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 13 Oct 2017 07:40PM UTC
Jobs 1
Files 163
Run time 18s
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
2585

push

travis-ci

leebyron
Improve errors when receiving bad introspection data

I've seen a few examples of passing bad introspection data to buildClientSchema() result in a hard to understand internal error. This instead prints a more understandable error which includes a print out of the bad value in question. Hopefully this aids debugging.

This also adds a comment to the description of this function recommending that the "errors" field of a server response be checked before continuing to avoid partial results.

3767 of 4248 branches covered (88.68%)

26 of 26 new or added lines in 1 file covered. (100.0%)

9162 of 9357 relevant lines covered (97.92%)

1249.79 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
100.0
src/utilities/buildClientSchema.js
Jobs
ID Job ID Ran Files Coverage
1 2585.1 13 Oct 2017 07:40PM UTC 0
97.92
Travis Job 2585.1
Source Files on build 2585
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2585
  • eb550684 on github
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