Ran
|
Files
59
|
Run time
8s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/apollographql/graphql-tools/commit/<a class=hub.com/apollographql/graphql-tools/commit/a9965ec0baced5da30589de8c8a96470ba8d04ca">a9965ec0b<a href="https://github.com/apollographql/graphql-tools/commit/a9965ec0baced5da30589de8c8a96470ba8d04ca">">compat: minimal changes to support graphql@15 within Apollo Server (#1284) * Inline `PrintSchemaOptions` type, whose parent module has been moved. This option will likely be deprecated in `graphql@16`. For now, we&#39;ll inline this type into this module to continue emitting it into the declaration file for `makeRemoteExecutableSchema`. This is necessary since the TypeScript compiler can no longer resolve its previous location as `graphql` has moved the location of the `schemaPrinter` module to `printSchema` in https://github.com/graphql/graphql-js/pull/2426. cc @IvanGoncharov * Fix incompatibility between `iterall` and newer TypeScript types. This wouldn&#39;t be necessary if this project had a `package-lock.json`, but... * compat: filter extensions prior to passing to `buildASTSchema`. .@IvanGoncharov originally brought this to my attention when he pointed me to https://github.com/yaacovCR/graphql-tools-fork/issues/32#issuecomment-571252686 and suggested stripping extension nodes prior to invoking `buildASTSchema` as a cross-version (v14 &lt;=&gt; v15) approach for interim compatibility on the v4 series of `graphql-tools`. The most urgent and pertinent need here from my perspective is to allow user-exploration of the new `graphql@15` release candidate within Apollo Server which currently re-exports the entirety of `graphql-tools` (even though it only relies on small portions of it). Upon further investigation of the above-referenced issue, it appears that @yaacovCR had already crafted the solution that @IvanGoncharov had suggested to me, which I found in </a><a class="double-link" href="https://github.com/apollographql/graphql-tools/commit/<a class="double-link" href="https://github.com/apollographql/graphql-tools/commit/2280eef8ad6c1cbc90c640228eb68094546f60f9">2280eef8a</a>">2280eef8a</a><a href="https://github.com/apollographql/graphql-tools/commit/a9965ec0baced5da30589de8c8a96470ba8d04ca"> within ... (continued)
954 of 1098 branches covered (86.89%)
2051 of 2171 relevant lines covered (94.47%)
208.69 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|