Skip to content

Commit

Permalink
add back introspection:true
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmwang committed Feb 2, 2025
1 parent 3d804d0 commit 1d2c12a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/backend/src/bootstrap/loaders/apollo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { KeyValueCache } from "@apollo/utils.keyvaluecache";
import { ApolloArmor } from "@escape.tech/graphql-armor";
import { RedisClientType } from "redis";

import { config } from "../../config";
import { buildSchema } from "../graphql/buildSchema";

class RedisCache implements KeyValueCache {
Expand Down Expand Up @@ -61,7 +60,8 @@ export default async (redis: RedisClientType) => {
}),
responseCachePlugin(),
],
introspection: config.isDev,
// TODO(prod): introspection: config.isDev,
introspection: true,
cache: new RedisCache(redis),
});

Expand Down

0 comments on commit 1d2c12a

Please sign in to comment.