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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 23 Mar 2016 07:14AM UTC
Jobs 1
Files 130
Run time 5s
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
845

push

travis-ci

leebyron
Add GraphQLSchema types field

This is a rebased and updated version of @tgriesser's #199. I further extended it to completely remove the side-effectful mutation of Interface types rather than just deferring that mutation to schema creation time.

This introduces a *breaking* change to the Type System API. Now, any individual Interface type does not have the required information to answer `getPossibleTypes` or `isPossibleType` without knowing the other types in the Schema. These methods were moved to the Schema API, accepting the abstract type as the first parameter.

This also introduces a *breaking* change to the type comparator functions: `isTypeSubTypeOf` and `doTypesOverlap` which now require a Schema as a first argument.

70 of 70 new or added lines in 16 files covered. (100.0%)

6173 of 6209 relevant lines covered (99.42%)

1315.37 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/utilities/__tests__/schemaPrinter.js
1
100.0
src/execution/execute.js
1
100.0
src/utilities/typeComparators.js
5
100.0
src/utilities/buildASTSchema.js
Jobs
ID Job ID Ran Files Coverage
1 845.1 23 Mar 2016 07:14AM UTC 0
99.42
Travis Job 845.1
Source Files on build 845
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #845
  • 5621af20 on github
  • Prev Build on tgriesser-schema-types (#842)
  • Next Build on tgriesser-schema-types (#864)
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