Skip to content

Commit eb2a553

Browse files
authored
Updated the Security section in the v14 blog post (#7637)
1 parent 7efe6fc commit eb2a553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/src/blog/2024-08-30-hot-chocolate-14/2024-08-30-hot-chocolate-14.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,15 +878,15 @@ Another change we made with Hot Chocolate 14 is around introspection. When we de
878878
```csharp
879879
builder
880880
.AddGraphQLServer()
881-
.ModifyRequestOptions(o => o.EnableIntrospection = true);
881+
.DisableIntrospection(false);
882882
```
883883

884884
Also the schema file can be disabled like the following.
885885

886886
```csharp
887887
builder
888888
.AddGraphQLServer()
889-
.ModifyRequestOptions(o => o.EnableSchemaFile = false);
889+
.ModifyRequestOptions(o => o.EnableSchemaFileSupport = false);
890890
```
891891

892892
# Fusion

0 commit comments

Comments
 (0)