Skip to content

Commit 7f4e223

Browse files
committed
rename
1 parent 90ad479 commit 7f4e223

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/index.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ export class GitHub {
1616
path.join(__dirname, '..', 'schema', 'github.graphql'),
1717
{ encoding: 'utf8' },
1818
)
19-
const schema = makeExecutableSchema({ typeDefs })
19+
20+
const introspectionSchema = makeExecutableSchema({ typeDefs })
2021
const link = new GitHubLink(token)
21-
this.schema = makeRemoteExecutableSchema({ schema, link })
22+
23+
this.schema = makeRemoteExecutableSchema({
24+
schema: introspectionSchema,
25+
link,
26+
})
2227
}
2328

2429
delegate(

0 commit comments

Comments
 (0)