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

New Post: Using SetValidator isn't working when using the Testing extensions

Hi The test extensions only test against rules that are directly defined on the validator directly, not on child validators. So in the test for the LandDetails validator, you should just be testing for...

View Article


New Post: Is it possible to use ValidationTestExtension to test a validator...

Thanks heaps Jeremy for the reply. I was thinking you might say that. Would you accept a PR if I tweak the extension method(s) to have an optional ruleSet string?

View Article


New Post: Using SetValidator isn't working when using the Testing extensions

Ok, got it now. It sounds like a case of Separation of Concerns, which I was abusing. Cheers!

View Article

New Post: Is it possible to use ValidationTestExtension to test a validator...

If you'd like to submit a pull request, that would be great, thanks.

View Article

New Post: Is it possible to use ValidationTestExtension to test a validator...

A PR has been sent :)

View Article


New Post: Prevent Errors from being shown on View's first display.

Hi You could use a Custom validator for this (see the section on "AbstractValidator.Custom" on this page

View Article

New Post: Is it possible to use ValidationTestExtension to test a validator...

Thanks - I've merged it in. In future, it'd be great if you could match your commits with the existing code style (tabs instead of spaces etc). Thanks!

View Article

Source code checked in, #fb24090b2a0a36f94a953dca80a09a32d89ac664

Fix indentation etc from previous commit

View Article


New Post: Is it possible to use ValidationTestExtension to test a validator...

Hi Jeremy, thanks heaps for accepting it. Ah! i didn't notice the tabs/spaces thing, but apologies for that. Will there be a new Nuget package coming out with this PR?

View Article


New Post: Child properties in complex ViewModel do not always have their...

Hi Jeremy I have a similar issue in MVC. Taking the above example it shows me that address and person object have been instantiated but they do not have any value. Can you please provide a work around...

View Article

New Post: Are you planning to support remote validation?

Is this supported in the current release?

View Article

New Post: Get Validators to be applied to a given property/class

Hello, I have been using FluentValidation w/ Web API 2.0 and things work very well for me. Recently, we wanted to start exposing our Validation rules to consumers via an API call. Consumers would...

View Article

New Post: Get Validators to be applied to a given property/class

Hi You can use the descriptor to get this information - call CreateDescriptor on the validator instance, which you can then use to get metadata about which validators are associated with which...

View Article


New Post: Child properties in complex ViewModel do not always have their...

I can't reproduce the problem in any of my tests. If you could put together a small sample project that reproduces the problem and email it to me (at jeremy@jeremyskinner.co.uk ), then I can...

View Article

Source code checked in, #83f715f5e6d1b91b6bba0cf5ab238508048cb197

Merge pull request #40 from ChrisLotter/patch-1 Update README.txt

View Article


Source code checked in, #d3eaa5b003b9222da0ba7882f15b182ca85048ff

Merge pull request #39 from matteobaglini/master Support MVC4/5 client-side validation for GreaterThanOrEqualToValidator and LessThanOrEqualValidator.

View Article

Created Unassigned: Slow performance when running validation rules. [7192]

I created an instance of my validator and then passed it thousands of instances of the type to be validated. It seems that the validation context is expensive to create. Can it be investigated if we...

View Article


New Post: ValidationResult over WCF Services

I tried to user FluidValidation over WCF services. I had couple of issues when I returned ValidationResult from my Save method When I try to access the result from UI, property names under...

View Article

New Post: Security Exception in Fluent validation in Medium Trust

I get this error when i use fluent validation in Medium trust envirment?How can i solve this.? [SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission,...

View Article

New Post: MustAsync Silverlight

I have encountered this same issue. Has anyone found a solution or the problem with this approach? Thanks, Jeff

View Article
Browsing all 1917 articles
Browse latest View live


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