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

Created Issue: Integer greater than maximum value does not get included in validation summary. [7105]

$
0
0
I have created the following validator:

Source Code
--------------------------------------------------
public class CreditCardModelValidator : AbstractValidator<CreditCardModel>
{
public CreditCardModelValidator()
{
RuleFor(m => m.MinimumCreditCardTransaction)
.InclusiveBetween(0, 200000000);
}
}

However, when the property exceeds 2147483648, the validation message is not in the validation summary.

Viewing all articles
Browse latest Browse all 1917


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