Remove JsonSerializerOptions copy in ProblemDetailsJsonOptionsSetup
#46143
Labels
area-web-frameworks
*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
JsonSerializerOptions.AddContext won't make the options read-only anymore (dotnet/runtime#80527) and the following code must be updated to add context to combine with the current one.
aspnetcore/src/Http/Http.Extensions/src/ProblemDetailsJsonOptionsSetup.cs
Lines 16 to 22 in e523876
The text was updated successfully, but these errors were encountered: