When endpoint return ValidationProblem and has errors the property errors doesn't have values. #59598
Unanswered
jvsancho80
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions