diff --git a/website/src/docs/hotchocolate/v14/migrating/migrate-from-13-to-14.md b/website/src/docs/hotchocolate/v14/migrating/migrate-from-13-to-14.md index e507b493d51..d0c8e5ef0d9 100644 --- a/website/src/docs/hotchocolate/v14/migrating/migrate-from-13-to-14.md +++ b/website/src/docs/hotchocolate/v14/migrating/migrate-from-13-to-14.md @@ -83,7 +83,7 @@ The Operation Complexity Analyzer in v13 has been replaced by Cost Analysis in v - The `Complexity` property on `RequestExecutorOptions` (accessed via `ModifyRequestOptions`) has been removed. - Cost analysis is enabled by default. -Please see the [documentation](../../security/cost-analysis) for further information. +Please see the [documentation](/docs/hotchocolate/v14/security/cost-analysis) for further information. ## DateTime scalar enforces a specific format diff --git a/website/src/docs/hotchocolate/v14/server/interceptors.md b/website/src/docs/hotchocolate/v14/server/interceptors.md index 6515ececa82..a1b67e592f3 100644 --- a/website/src/docs/hotchocolate/v14/server/interceptors.md +++ b/website/src/docs/hotchocolate/v14/server/interceptors.md @@ -206,8 +206,8 @@ requestBuilder.SetProperties(properties); ```csharp var provider = new ServiceCollection() - .AddSingleton() - .BuildServiceProvider(); + .AddSingleton() + .BuildServiceProvider(); requestBuilder.SetServices(provider); ``` @@ -221,19 +221,3 @@ If we have disabled introspection globally, `AllowIntrospection` allows us to en ```csharp requestBuilder.AllowIntrospection(); ``` - -## SkipComplexityAnalysis - -When using the [operation complexity feature](/docs/hotchocolate/v14/security/operation-complexity), we can skip the complexity analysis for specific requests. - -```csharp -requestBuilder.SkipComplexityAnalysis(); -``` - -## SetMaximumAllowedComplexity - -When using the [operation complexity feature](/docs/hotchocolate/v14/security/operation-complexity), we can overwrite the global complexity limit for specific requests. - -```csharp -requestBuilder.SetMaximumAllowedComplexity(5000); -```