[AOT] ProblemDetails and Extension values #45862
Labels
linker-friendliness
Tracking linker friendliness
NativeAOT
old-area-web-frameworks-do-not-use
*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone
Problem Details is an internet standard - https://www.rfc-editor.org/rfc/rfc7807
In ASP.NET Core,
ProblemDetails
is serialized withIProblemDetailsWriter
. The default implementation isDefaultProblemDetailsWriter
.One of the concepts of problem details is extension data. These are arbitrary values that can be added to the payload. This is difficult with AOT because it's represented on
ProblemsDetails
asIDictionary<string, object>
. Serializing problem details successfully (don't worry about deserializing, aspnetcore doesn't do that) means all the values in the directory must have generated code registered with the serializer.The text was updated successfully, but these errors were encountered: