File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ import {
4141 ValueNode ,
4242} from 'graphql'
4343import { ApolloLink } from 'apollo-link'
44- import { Observable } from 'subscriptions-transport-ws'
4544import { makeExecutableSchema } from 'graphql-tools'
4645import linkToFetcher from 'graphql-tools/dist/stitching/linkToFetcher'
4746import defaultMergedResolver from 'graphql-tools/dist/stitching/defaultMergedResolver'
@@ -64,14 +63,12 @@ export type FetcherOperation = {
6463 * without the need to re-run `makeExecutableSchema` which is expensive to run
6564 */
6665export class ExecutableSchemaFactory {
67- private link : ApolloLink
6866 private fetcher : Fetcher
6967 private introspectionSchema : GraphQLSchema
7068 private executableSchema : GraphQLSchema
7169
7270 constructor ( introspectionSchema : GraphQLSchema , link : ApolloLink ) {
7371 this . introspectionSchema = introspectionSchema
74- this . link = link
7572 this . fetcher = linkToFetcher ( link )
7673 this . init ( )
7774 }
@@ -81,7 +78,6 @@ export class ExecutableSchemaFactory {
8178 }
8279
8380 setLink ( link : ApolloLink ) : void {
84- this . link = link
8581 this . fetcher = linkToFetcher ( link )
8682 }
8783
Original file line number Diff line number Diff line change 44 "moduleResolution" : " node" ,
55 "module" : " commonjs" ,
66 "sourceMap" : true ,
7+ "noUnusedLocals" : true ,
78 "rootDir" : " ./src" ,
89 "outDir" : " ./dist" ,
910 "lib" : [" esnext" ]
You can’t perform that action at this time.
0 commit comments