Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: change default error message for int/long

$
0
0

Is there a way to change the default error message for an in in FluentValidation?

We are able to set up validations for more complex types but the simple 'the data you entered isn't an int' style things we can't seem to get at.

The built in error for these is: 'the value x isn't valid for y' or something along those lines - is there a way to override these?


Viewing all articles
Browse latest Browse all 1917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>