From 1d2dd53da4ca72e73fdf40574cd904981f02a60c Mon Sep 17 00:00:00 2001 From: sgabler Date: Mon, 13 Feb 2023 11:44:19 +0100 Subject: [PATCH 1/2] Fix outdated documentation --- .../src/docs/hotchocolate/v12/security/operation-complexity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/docs/hotchocolate/v12/security/operation-complexity.md b/website/src/docs/hotchocolate/v12/security/operation-complexity.md index f8364fb67b1..9a1188684cd 100644 --- a/website/src/docs/hotchocolate/v12/security/operation-complexity.md +++ b/website/src/docs/hotchocolate/v12/security/operation-complexity.md @@ -142,7 +142,7 @@ services { o.Complexity.ApplyDefaults = true; o.Complexity.DefaultComplexity = 1; - o.Complexity.DefaultDataResolverComplexity = 5; + o.Complexity.DefaultResolverComplexity = 5; }); ``` From 9d1b1440db69676d42651d550e2efd878a663555 Mon Sep 17 00:00:00 2001 From: sgabler Date: Mon, 13 Feb 2023 14:14:24 +0100 Subject: [PATCH 2/2] Also fix v13 docs --- .../src/docs/hotchocolate/v13/security/operation-complexity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/docs/hotchocolate/v13/security/operation-complexity.md b/website/src/docs/hotchocolate/v13/security/operation-complexity.md index 2da57247706..660e3e4aebe 100644 --- a/website/src/docs/hotchocolate/v13/security/operation-complexity.md +++ b/website/src/docs/hotchocolate/v13/security/operation-complexity.md @@ -142,7 +142,7 @@ services { o.Complexity.ApplyDefaults = true; o.Complexity.DefaultComplexity = 1; - o.Complexity.DefaultDataResolverComplexity = 5; + o.Complexity.DefaultResolverComplexity = 5; }); ```