Is there an existing issue for this?
Describe the bug
hey folks,
Im trying desperately to use minimal api with the new validation support in .net 10.
The validation itself works good, but I came to notice that the data annotation validation is not localized whenever the request localization is changed. Default is english and the only way to come around seems to create custom data annotation attributes.
Expected Behavior
If the request locale is different than english, the failed validation should display the translated texts into the problem detail
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
10.0.100
Anything else?
No response
Is there an existing issue for this?
Describe the bug
hey folks,
Im trying desperately to use minimal api with the new validation support in .net 10.
The validation itself works good, but I came to notice that the data annotation validation is not localized whenever the request localization is changed. Default is english and the only way to come around seems to create custom data annotation attributes.
Expected Behavior
If the request locale is different than english, the failed validation should display the translated texts into the problem detail
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
10.0.100
Anything else?
No response