diff --git a/src/index.ts b/src/index.ts index 21077cf..170054d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -12,7 +12,8 @@ const typeDefs = readFileSync("./schema.graphqls", "utf8"); async function main() { const server = new ApolloServer({ typeDefs, - resolvers + resolvers, + introspection: process.env.NODE_ENV !== "production", }); const repository = new UnoptimizedInMemoryRepository();