Quantcast
Channel: Fluent Validation for .NET
Browsing all 1917 articles
Browse latest View live
↧

New Post: Validation Rule for overall model

Crickets?

View Article


New Post: When Problem.

JeremyS wrote: I'll probably do a new release in the next couple of weeks. In the meantime feel free to build from source and let me know f you have any issues. Hello Jeremy, I have been trying the...

View Article


New Post: When Problem.

I'm not able to reproduce this - I tried the conditions you posted and the validator behaves as expected. Please put together a failing unit test that reproduces the issue. Thanks Jeremy 

View Article

New Post: Validation Rule for overall model

Sorry for not replying sooner - I've had a busy week and not been able to do much work on my voluntary projects. At the moment, FluentValidation doesn't really support what you're after. The idea for...

View Article

New Post: When Problem.

Hi Jeremy, I have been debugging this and maybe I am using the wrong FV version. I downloaded the following version: http://fluentvalidation.codeplex.com/SourceControl/changeset/changes/53916b00a88d...

View Article


New Post: When Problem.

This is the correct change set. Please could you post a failing unit test - this will help me determine where the problem lies. Jeremy Skinner Sent from my iPhone

View Article

New Post: Validation Rule for overall model

Here are a few options:   RuleForModel().MustHaveAtLeastOneItemChecked(); RuleFor(model => model).MustHaveAtLeastOneItemChecked(); // not sure if this one is possible or not...

View Article

New Post: SetCollectionValidator not firing error?

Hi Jeremy, I also met the same problem with Shapper. How should I do to validate all the elements within a collection is not null by using FluentValidation? Thank You Gavin

View Article


New Post: NET35, SL5, WP7 assemblies into nuget package?

Could you provide the assemblies for NET35, SL5, WP7 platforms into the nuget package? Thanks in advance.

View Article


New Post: NET35, SL5, WP7 assemblies into nuget package?

Hi .Net3.5 and wp7 aren't supported as FluentValidation has a dependency on functionality that isn't available on these platforms. I'll be adding a Silverlight 5 build at somepoint in the future, but...

View Article

New Post: NET35, SL5, WP7 assemblies into nuget package?

Ok, thanks.

View Article

New Post: SetCollectionValidator not firing error?

Hi Gavin The best way to do this is to use a Must rule. Something like: RuleFor(x => x.SomeCollection).Must(collection => collection.All(x => x != null)); Jeremy

View Article

New Post: NET35, SL5, WP7 assemblies into nuget package?

What kind of dependencies? I am not aware of something that is not in 3'5 (except for default parameter values).

View Article


New Post: NET35, SL5, WP7 assemblies into nuget package?

FluentValidation uses covariance/contravariance which is not available in 3.5 or wp7. Jeremy Skinner Sent from my iPhone On 10 Feb 2012, at 22:18, GeertvanHorrik <notifications@codeplex.com>...

View Article

New Post: CascadeMode set inside Validator .ctor is broken

Hi, I have the following validator: public class ResponseValidator : AbstractValidator<Response> { public ResponseValidator() { CascadeMode = CascadeMode.StopOnFirstFailure; RuleFor( cr =>...

View Article


New Post: CascadeMode set inside Validator .ctor is broken

Hi I think you've misunderstood the use of the cascade mode. This settings affects validators *in the same chain*, not separate RuleFor statements. For example:...

View Article

New Post: IValidatorFactory and Validate extensions

Hi Deepak You can view the article at http://www.codeproject.com/Articles/326647/FluentValidation-and-Unity Cheers Craig

View Article


New Post: SetCollectionValidator not firing error?

That's great. Thank you Gavin

View Article

Commented Issue: Security Exception [6880]

Hey all, This may not be an issue with FluentValidation, but I wanted to raise it anyway in case anyone had any ideas.Currently running FluentValidation 1.1, in conjunction with FluenNHibernate 1.0 and...

View Article

Commented Issue: Security Exception [6880]

Hey all, This may not be an issue with FluentValidation, but I wanted to raise it anyway in case anyone had any ideas.Currently running FluentValidation 1.1, in conjunction with FluenNHibernate 1.0 and...

View Article
Browsing all 1917 articles
Browse latest View live


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