From ea130fbe7ab24999a15fcdfeb512aeae38244876 Mon Sep 17 00:00:00 2001 From: xplicit <111863110+beniaminmunteanu@users.noreply.github.com> Date: Wed, 10 Apr 2024 09:40:47 +0200 Subject: [PATCH] feat(graphql-armor): max-depth now has ignoreIntrospection set to true (#2648) --- packages/auth/src/app.ts | 2 +- packages/backend/src/app.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/auth/src/app.ts b/packages/auth/src/app.ts index d5aed460b9..ee81ba3b85 100644 --- a/packages/auth/src/app.ts +++ b/packages/auth/src/app.ts @@ -162,7 +162,7 @@ export class App { maxDepth: { enabled: true, n: 10, - ignoreIntrospection: false + ignoreIntrospection: true }, costLimit: { enabled: true, diff --git a/packages/backend/src/app.ts b/packages/backend/src/app.ts index 5b4e265e9c..7e060be49f 100644 --- a/packages/backend/src/app.ts +++ b/packages/backend/src/app.ts @@ -322,7 +322,7 @@ export class App { maxDepth: { enabled: true, n: 10, - ignoreIntrospection: false + ignoreIntrospection: true }, costLimit: { enabled: true,