Complete [Typed]Results Json AOT/trimmer-safe overloads
Open
area-minimal
NativeAOT
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
Related #46252
For now only `TypedResults.JsonHttpResult` and `Results.Json` has such overloads.
But methods like `TypedResults.Created`and `TypedResults.Accepted` 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_
Contributor guide
Assessment
This issue has not been assessed yet.