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

graphql / graphql-js / 3255
98%

Build:
DEFAULT BRANCH: master
Ran 27 Feb 2018 08:26PM UTC
Jobs 1
Files 192
Run time 10s
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
3255

push

travis-ci

leebyron
Eliminate circular dependency in validation rules (#1263)

`validation/validate.js` depends on all of the rules, and all of the
rules depend on `ValidationContext`, which was previously exported by
`validation/validate.js`.

This moves `ValidationContext` out of `validate.js` to resolve this.

Circular dependencies are fine, but they tend to slow down flow, since
it moves more work to the merging phase, and the merging phase isn't as
fast as the inference phase. As a result, this should make flow
marginally faster.

This does have a minor breaking change: `graphql/validatation/validate`
no longer exports `ValidationContext`, but `graphql/validation` still
does. I can add an export to `validate.js` to preserve that behavior,
but it's a minor change to a non-public API, and graphql-js has broken
these things in the past.

4087 of 4507 branches covered (90.68%)

10596 of 10736 relevant lines covered (98.7%)

1544.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3255.1 27 Feb 2018 08:26PM UTC 0
98.7
Travis Job 3255.1
Source Files on build 3255
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3255
  • 261b99b0 on github
  • Prev Build on master (#3249)
  • Next Build on master (#3256)
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