From acf9ba0108595213cb913fe3df15a8100fec91ed Mon Sep 17 00:00:00 2001 From: s-r-x Date: Tue, 10 Jan 2023 14:58:48 +0500 Subject: [PATCH] fix: set persistedQueries to false in the apollo server constructor to suppress cache related apollo warning in production --- packages/root/src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/root/src/main.ts b/packages/root/src/main.ts index fcb444d..be72cd7 100644 --- a/packages/root/src/main.ts +++ b/packages/root/src/main.ts @@ -48,6 +48,7 @@ export abstract class BullMonitor { plugins?: ApolloConfig['plugins'] ) { this.server = new Server({ + persistedQueries: false, typeDefs, resolvers, plugins,