Now when we query middleware API, in case of the validation failure, we get a different scheme of the error message than when the validation is correct, but Middleware returns another error.
Consolidate so it can return a list of errors, using Dictionary<string, string[]> for storing errors, also enable to specify TraceId from HTTP context.
Now when we query middleware API, in case of the validation failure, we get a different scheme of the error message than when the validation is correct, but Middleware returns another error. Consolidate so it can return a list of errors, using
Dictionary<string, string[]>
for storing errors, also enable to specifyTraceId
from HTTP context.