Skip to content

Commit

Permalink
Updated the Security section in the v14 blog post (#7637)
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 authored Oct 23, 2024
1 parent 7efe6fc commit eb2a553
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -878,15 +878,15 @@ Another change we made with Hot Chocolate 14 is around introspection. When we de
```csharp
builder
.AddGraphQLServer()
.ModifyRequestOptions(o => o.EnableIntrospection = true);
.DisableIntrospection(false);
```

Also the schema file can be disabled like the following.

```csharp
builder
.AddGraphQLServer()
.ModifyRequestOptions(o => o.EnableSchemaFile = false);
.ModifyRequestOptions(o => o.EnableSchemaFileSupport = false);
```

# Fusion
Expand Down

0 comments on commit eb2a553

Please sign in to comment.