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

New Post: Parent validation based on child collection

$
0
0
Hi

This isn't something that FluentValidation supports. FluentValidation associates error messages against properties, so if a property in one of the children has caused validation to fail, then this will be added to the errors collection and associated with the property, but not with the parent. The parent and child are completely separate for the purposes of validation.

Jeremy

Viewing all articles
Browse latest Browse all 1917

Trending Articles



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