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

New Post: Understanding dependent rules

$
0
0
Hi Michael,

FluentValidation has moved to GitHub - in future please post your questions over there rather than on codeplex: https://github.com/jeremyskinner/fluentvalidation/issues



So at the moment Dependent Rules aren't compatible with rulesets - I'll get this fixed.

(Additionally, FluentValidation requires that the root-level object being validated is not-null, so your example using RuleFor(o => o).NotNull() won't actually work, but the concept is right)

Viewing all articles
Browse latest Browse all 1917

Trending Articles



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