-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend ValidationResult class to allow localization/formatting #157
Comments
Yes this really needs to be done, and a thorough going through all the error messages to make them more user friendly, not just developer friendly. |
This issue is about dotnet attribute validation, not the profile validator, so I removed that label |
So, the |
We have done this right? @ewoutkramer |
@brianpos and I had a proposal, but I am not sure if it went anywhere. |
ValidationResult currently only exposes an ErrorMessage property. This prevents clients from localizing/formatting the error message.
Proposal:
The API should expose the available error identifiers as public constants
Advanced:
Maybe similar implementation to .NET exception classes?
The text was updated successfully, but these errors were encountered: