Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
fix: set persistedQueries to false in the apollo server constructor t…
Browse files Browse the repository at this point in the history
…o suppress cache related apollo warning in production
  • Loading branch information
s-r-x committed Jan 10, 2023
1 parent d41bf77 commit acf9ba0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/root/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export abstract class BullMonitor<TServer extends ApolloServerBase> {
plugins?: ApolloConfig['plugins']
) {
this.server = new Server({
persistedQueries: false,
typeDefs,
resolvers,
plugins,
Expand Down

0 comments on commit acf9ba0

Please sign in to comment.