I have another question regarding specifying a custom validator, particularly I have an IEumerable/Collection and I want to set a validator of type A for one of the entries and another validator of type B for again.. another entry in that collection (and basically
ignore other entries).
This does not work (as it throws an exception saying 'Nested validators can only be used with Member Expressions.'):
this.RuleFor(teamProject => teamProject.Categories[categoryName]).SetValidator(validatorInstanceForCategoryWithProvidedCategoryName);
.. but how could/would I do that instead?