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

graphql / graphql-js / 2820
98%

Build:
DEFAULT BRANCH: master
Ran 08 Dec 2017 01:57AM UTC
Jobs 1
Files 174
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
2820

push

travis-ci

web-flow
Validate schema root types and directives (#1124)

This moves validation out of GraphQLSchema's constructor (but not yet from other type constructors), which is responsible for root type validation and interface implementation checking.

Reduces time to construct GraphQLSchema significantly, shifting the time to validation.

This also allows for much looser rules within the schema builders, which implicitly validate while trying to adhere to flow types. Instead we use any casts to loosen the rules to defer that to validation where errors can be richer.

This also loosens the rule that a schema can only be constructed if it has a query type, moving that to validation as well. That makes flow typing slightly less nice, but allows for incremental schema building which is valuable

3980 of 4499 branches covered (88.46%)

9640 of 9776 relevant lines covered (98.61%)

1286.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2820.1 08 Dec 2017 01:57AM UTC 0
98.61
Travis Job 2820.1
Source Files on build 2820
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2820
  • 819a59c2 on github
  • Prev Build on master (#2817)
  • Next Build on master (#2821)
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