New Post: Mixing Collection and item validation
Hi, I want to validate a contactlist, its basically a collection. First I want to check if there are any duplicate Unique IDs in the list, then I want to use the ContactValidator I created to validate...
View ArticleNew Post: Reuse rule set validator
is it possible?[Test] public void Update() { var cm = bll.Get(id); cm.Entity.Addresses = new List(){new Address(){Description = ""}}; var vali = new AutoCommunicationClaimValidator(); var result =...
View ArticleNew Post: Mixing Collection and item validation
Try this: RuleFor(rl => rl) .Cascade(CascadeMode.StopOnFirstFailure) .Must(NoDuplicateUniqueIds).WithName("ContactList") .WithMessage("Unique ID must be unique") .SetCollectionValidator(new...
View ArticleCreated Issue: Integer greater than maximum value does not get included in...
I have created the following validator:Source Code--------------------------------------------------public class CreditCardModelValidator : AbstractValidator<CreditCardModel>{ public...
View ArticleCommented Issue: Integer greater than maximum value does not get included in...
I have created the following validator:Source Code--------------------------------------------------public class CreditCardModelValidator : AbstractValidator<CreditCardModel>{ public...
View ArticleNew Post: Ability to conditionally process a rule if any previous rules have...
I've got a common validation scenario where I need to check for a duplicate email or screen name on user signup which requires hitting the database. If the email or screen name entered is invalid...
View ArticleSource code checked in, #55c11361194f
Merge pull request #9 from meboz/master Added private no-arg constructor to ValidationFailure
View ArticleCreated Issue: all derivitives of AbstractComparisonValidator fail on...
This code: new LessThanValidator(10M).IsValid(5M, 10) fails with: System.ArgumentException : Object must be of type Decimal.This should succeed as decimal 5 is still less than integer 10.
View ArticleCommented Issue: ValidationFailure constructors cause...
When running any unit test under a code coverage tool (e.g. TestDriven.NET "Test With" NCover or VS Coverage) which contains a call to either of the ValidationResult constructors, I get a...
View ArticleNew Post: verificationexception on .net runtime 4.5 final release
Hello, I installed from msdn the final visual studio 2012 release today. Now on the current project I get a verification exception. I´ve tried a few things. There must be a change on the framework...
View ArticleCommented Issue: ValidationFailure constructors cause...
When running any unit test under a code coverage tool (e.g. TestDriven.NET "Test With" NCover or VS Coverage) which contains a call to either of the ValidationResult constructors, I get a...
View ArticleNew Post: verificationexception on .net runtime 4.5 final release
Two other solutions that are acceptable in some situations. Modify the fuluentvalidation src code. 1. Comment out the following lines in Src/CommonAssemblyInfo.cs #if !SILVERLIGHT[assembly:...
View ArticleCommented Issue: ValidationFailure constructors cause...
When running any unit test under a code coverage tool (e.g. TestDriven.NET "Test With" NCover or VS Coverage) which contains a call to either of the ValidationResult constructors, I get a...
View ArticleNew Post: VerificationException Occurs Under Debugger: Solved
I am having the same issue, and I followed the steps to add the FluentValdation module to ignore list, but it still does it. Sort of a deal breaker at this point, any suggestions?
View ArticleCommented Issue: ValidationFailure constructors cause...
When running any unit test under a code coverage tool (e.g. TestDriven.NET "Test With" NCover or VS Coverage) which contains a call to either of the ValidationResult constructors, I get a...
View ArticleUpdated Release: 3.4 (Aug 17, 2012)
Changes since 3.3: Make ValidationResut.IsValid virtual Add private no-arg ctor to ValidationFailure to help with serialization Add Turkish error messages Work-around for reflection bug in .NET 4.5...
View ArticleSource code checked in, #3c795a8df970
Improve the process of automatically generating both signed and unsigned packages.
View ArticleCommented Issue: Nuget 3.4 package not strong named [7107]
Just upgraded a project to the 3.4 nuget and noticed its dosnt have a strong name so assembly so assembly redirect is brokenComments: I have added a bug report to Ninject.Web.Mvc.FluentValidation (see...
View Article