ValidationResultHolder - Rule Dependency

first post: gandarez wrote: Hi Guys, In my project I need to implement a conditional variable ...

Make nested object required when the rule is added for at least one of it's properties

first post: chester89 wrote: I should probably explain what I have in mind. When having classes...

latest post: vbarseghyan wrote: Hi Jeremy, I've similar code, it works but tests doesn't work prope...

checking for multiple values in when condition

first post: karanhar1 wrote: RuleFor(customer => customer.Forename).NotEmpty().When(customer => ...

latest post: karanhar1 wrote: The solution Works. Is there a way to check to see if a property...

Localized Message Issue

first post: vvk1267 wrote: Hi Jeremy, I read the threads showing the implementation of Local...

latest post: vvk1267 wrote: Thank you so much, Jeremy. This works perfect! :)

when condition not working as expected

first post: karanhar1 wrote: I am very new to Fluent Validation and C# programming Below is my...

latest post: karanhar1 wrote: Thanks - It works.

Unit Testing on Rule for a List<>

first post: ebric wrote: Hi!, I'm having an issue with writing a Unit Test for a Rule that...

latest post: ebric wrote: Cool, thanks!.

How to compare email and confirmemail?

first post: Quantis001 wrote: Hi, I have next rule to make sure the user enters the same email a...

latest post: Quantis001 wrote: Hi, Must be related to NOP. In customer registration it works, but ...

How to create validator for type?

first post: shapper wrote: Hello, Is it possible to create a validator to test a type. For e...

latest post: shapper wrote: I will go with your extension that uses Must ... The problem is so...

Testing validators

first post: GoranSiska wrote: Current ValidationTestExtensions enable us to test if some property...

latest post: GoranSiska wrote: I think I see what you mean. Yes - I can extend my tests to better ...

When Clause usage

first post: the5th wrote: Hey guys, on my input form I have an integer field that can be 0 or...

latest post: the5th wrote: Thank you Jeremy. That worked great!

answered by: JeremyS wrote: Yes - there's a second overload of Must that accepts both the value...