This project is read-only.
1

Closed

DataAnnotationsValidator fails when RangeAttribute is used with nullable types

description

From discussion: https://davalidation.codeplex.com/discussions/570570

g_richards1:
When using the Range validation attribute with a nullable type such as int?, should the Range validator not validate a null value as the Required validator should be used to check for this.

DAValidation errors, as it try's to convert the null value to the OperandType. Should it not have a check to see if the value is null?
Closed Feb 11, 2015 at 11:21 AM by amanek

comments