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 788eee14e63..574991bf837 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 @@ -150,14 +150,6 @@ builder.Services .ModifyOptions(o => o.EnsureAllNodesCanBeResolved = false) ``` -## IDataLoader arguments now need to be marked as service - -Previously, you could inject `IDataLoader` without any attribute. Now you need to mark it as a service. - -```csharp -public string GetMyType([Service] IDataLoader dataLoader) -``` - ## DataLoader.LoadAsync always returns nullable type Previously, the `LoadAsync` method on a DataLoader was typed as non-nullable, even though `null` could be returned.