From e0f1e8b8c220fbfab9a259f94ca0a31379ac518c Mon Sep 17 00:00:00 2001 From: Safia Abdalla Date: Fri, 15 Sep 2023 14:57:29 -0700 Subject: [PATCH] Update form mapping docs (#30369) * Update form mapping docs * Update aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8.md Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> --------- Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> --- .../fundamentals/minimal-apis/includes/parameter-binding8.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8.md b/aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8.md index 7eff500768..bafec49fb4 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8.md @@ -216,8 +216,7 @@ The following code shows: In the preceding code: * The target parameter ***must*** be annotated with the [`[FromForm]`](xref:Microsoft.AspNetCore.Mvc.FromFormAttribute) attribute to disambiguate from parameters that should be read from the JSON body. -* Binding to record types is not currently supported, so complex types must be implemented as a class. -* Recursive binding is not supported, so the `Todo` type does not contain any recursive references. +* Binding from complex or collection types is ***not*** supported for minimal APIs that are compiled with the Request Delegate Generator.