Open jakejscott opened 11 years ago
Keep in mind that the ErrorMessage can be a string or it can be a delegate that returns a string. You'll want to put a null check to avoid the invalid argument exception: https://github.com/amirrajan/Oak/blob/master/Oak/Validation.cs#L267
Oh okay thanks!
You may also look at the Exclusion validator. You could exclude guid.empty and null values maybe.