diff --git a/website/src/docs/hotchocolate/api-reference/migrate-from-10-to-11.md b/website/src/docs/hotchocolate/api-reference/migrate-from-10-to-11.md index 38e16f48f7e..cee019e41ea 100644 --- a/website/src/docs/hotchocolate/api-reference/migrate-from-10-to-11.md +++ b/website/src/docs/hotchocolate/api-reference/migrate-from-10-to-11.md @@ -460,6 +460,24 @@ New .AddType(); ``` +## IgnoreField + +The order of the parameters in ignore field has changed. The schema name is now optional and was moved to the end. + +Old + +```csharp + services.AddStitchedSchema(x => x.IgnoreField("SchemaName", "TypeName, "FieldName")); +``` + +New + +```csharp + services + .AddGraphQLServer() + .IgnoreField("TypeName, "FieldName", "SchemaName") +``` + ## SetExecutionOptions Execution options can now be configured on the root schema directly: