Skip to content

Commit 2564af4

Browse files
author
Manav Gupta
committed
Add introspection option to ApolloServer
1 parent 68bd193 commit 2564af4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ const pubsub = new PubSub()
249249
const serverCleanup = useServer({ schema }, wsServer)
250250

251251
const server = new ApolloServer({
252+
introspection: true,
252253
schema,
253254
plugins: [
254255
ApolloServerPluginDrainHttpServer({ httpServer }),

0 commit comments

Comments
 (0)