Complete [Typed]Results Json AOT/trimmer-safe overloads #53189
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
NativeAOT
Milestone
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Related #46252
For now only
TypedResults.JsonHttpResult
andResults.Json
has such overloads.But methods like
TypedResults.Created<TValue>
andTypedResults.Accepted<TValue>
also do serialization.Those methods should have the correspond overloads, which will provide help such as setting the default the HTTP Status Code.
Describe the solution you'd like
All methods those do serialization should have AOT/trimmer-safe overloads.
Additional context
No response
The text was updated successfully, but these errors were encountered: