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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 18 Sep 2015 09:31PM UTC
Jobs 1
Files 115
Run time 2s
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
506

push

travis-ci

leebyron
Resolvers can return `Error` to signify failure

This adds another way resolver functions can signify a failure: returning an Error object.

The primary reason this is useful is returning a list of values where index contains an error but another does not. A test casehas been added to illustrate this behavior. Previously sync resolvers could only throw an error, killing the whole list, or return nulls and fail to present error messaging.

I then used this as a simplifying factor to the executor core where it removed a third instance of locating and logging an error.

10 of 10 new or added lines in 2 files covered. (100.0%)

4946 of 4978 relevant lines covered (99.36%)

4146.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 506.1 18 Sep 2015 09:31PM UTC 0
99.36
Travis Job 506.1
Source Files on build 506
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #506
  • f62c0a25 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