When endpoint return ValidationProblem and has errors the property errors doesn't have values. #59052
Open
1 task done
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
Is there an existing issue for this?
Describe the bug
When endpoint return ValidationProblem and has errors the property errors doesn't have values in .Net 8 the same code works ok. I believe return TypedResults.Problem instead of TypedResults.ValidationProblem. My code return TypedResults.ValidationProblem. I have checked it and my code is correct.
Net 8
Net 9
My code works in Net 8
Expected Behavior
The code return this because my code return TypedResults.ValidationProblems. Net8 the same code works ok.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
Net 9
Anything else?
No response
The text was updated successfully, but these errors were encountered: