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

yaacovCR / graphql-tools-fork / 165
89%
master: 90%

Build:
Build:
LAST BUILD BRANCH: v9.0.1
DEFAULT BRANCH: master
Ran 04 Nov 2019 07:58PM UTC
Jobs 2
Files 82
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
165

push

travis-ci

yaacovCR
refactor(subschemas): improve delegation workflow

- refine SubschemaConfig type to allow using identical objects to merge different schemas and then delegate to those subschemas.
- consolidate SchemaExecutionConfig type into SubschemaConfig type.
- add separate subschemas, types, and typeDefs options to mergeSchemas to highlight different things that are being merged -- schemas options still works.
- allow wrapSchema to take just a subschemaConfig as an argument, will apply the subschemas execution configuration and transforms to yield the appropriate delegating outer schema.
- add rootValue to delegateToSchema options and move all other newish delegateToSchema options within the subSchemaConfig. rootValue is parallel in some ways to context, so ok to have at top level.
- rename SubSchemaConfig => SubschemaConfig
-
- remove support for renaming types based on modification of an outer schema, this breaks when inner type is renamed and outer schema has interface not defined in inner schema. ExpandAbstractTypes currently handles this use case, but works only when the delegated result contains the correct typename. An alternative workflow would be to add the outer interface prior to renaming to each subschema and then merge interfaces.
- remove resolversTransformResult property from transforms, no longer being used.
- update docs!

This change paves the way for annotating a result with a reference to the delegated schema. With a modified merged resolver, an outer merged schema could check to see if it received a partial result of a merged type and then merge the partial result with the necessary additional schemas defining the type.

1112 of 1290 branches covered (86.2%)

Branch coverage included in aggregate %.

2429 of 2584 relevant lines covered (94.0%)

1107.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 165.1 (GRAPHQL_VERSION='^14.0' TYPES_GRAPHQL_VERSION='^14.0') 04 Nov 2019 07:58PM UTC 0
91.4
Travis Job 165.1
2 165.2 (GRAPHQL_VERSION='^14.0' TYPES_GRAPHQL_VERSION='^14.0') 04 Nov 2019 07:58PM UTC 0
91.4
Travis Job 165.2
Source Files on build 165
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #165
  • 90ad11b1 on github
  • Prev Build on forkPR (#162)
  • Next Build on forkPR (#166)
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