Skip to content

Commit

Permalink
Fixed Broken Links
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Aug 27, 2024
1 parent 7741bc5 commit f11cedc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
20 changes: 2 additions & 18 deletions website/src/docs/hotchocolate/v14/server/interceptors.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ requestBuilder.SetProperties(properties);

```csharp
var provider = new ServiceCollection()
.AddSingleton<ExampleService>()
.BuildServiceProvider();
.AddSingleton<ExampleService>()
.BuildServiceProvider();

requestBuilder.SetServices(provider);
```
Expand All @@ -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);
```

0 comments on commit f11cedc

Please sign in to comment.