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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew Post: Is it possible to use ValidationTestExtension to test a validator...
A PR has been sent :)
View ArticleNew 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 ArticleNew 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 ArticleSource code checked in, #fb24090b2a0a36f94a953dca80a09a32d89ac664
Fix indentation etc from previous commit
View ArticleNew 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 ArticleNew 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 ArticleNew Post: Are you planning to support remote validation?
Is this supported in the current release?
View ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleSource code checked in, #83f715f5e6d1b91b6bba0cf5ab238508048cb197
Merge pull request #40 from ChrisLotter/patch-1 Update README.txt
View ArticleSource code checked in, #d3eaa5b003b9222da0ba7882f15b182ca85048ff
Merge pull request #39 from matteobaglini/master Support MVC4/5 client-side validation for GreaterThanOrEqualToValidator and LessThanOrEqualValidator.
View ArticleCreated 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 ArticleNew 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 ArticleNew 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 ArticleNew Post: MustAsync Silverlight
I have encountered this same issue. Has anyone found a solution or the problem with this approach? Thanks, Jeff
View Article