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

Source code checked in, #fab81d8d3b9a7fee6fc529c5f036c8b51a1b0449

Remove old file

View Article


New Post: MustAsync() instead of Must()

I am calling Validate

View Article


Commented Unassigned: Pass validation instance along .SetValidator() [7157]

Good evening,What I am missing with the current .SetValidator(..) implementations is a way to pass along / work with the validation context's instance of T - is there any way to do this? E.g. that...

View Article

Commented Unassigned: Pass validation instance along .SetValidator() [7157]

Good evening,What I am missing with the current .SetValidator(..) implementations is a way to pass along / work with the validation context's instance of T - is there any way to do this? E.g. that...

View Article

New Post: Less aggressive validation on startup

I am looking for some input on how to tone down errors when showing a new record in a form. When a new record is created and validated all required fields will have a red boarder and if the field has...

View Article


New Post: FluentValidation: RuleSet unit testing

Same here.

View Article

New Post: FluentValidation: RuleSet unit testing

I created this class below to help me validate Rule Sets. I didn't test it a lot, but it works for me.public static class ValidationTestExtension { public static void...

View Article

New Post: Less aggressive validation on startup

Hi This isn't really something I can help with I'm afraid. FluentValidation is completely agnostic from any sort of UI technology - you'd be better off asking on a WPF forum as I can only really answer...

View Article


Commented Unassigned: Pass validation instance along .SetValidator() [7157]

Good evening,What I am missing with the current .SetValidator(..) implementations is a way to pass along / work with the validation context's instance of T - is there any way to do this? E.g. that...

View Article


Closed Unassigned: Pass validation instance along .SetValidator() [7157]

Good evening,What I am missing with the current .SetValidator(..) implementations is a way to pass along / work with the validation context's instance of T - is there any way to do this? E.g. that...

View Article

New Post: MustAsync() instead of Must()

Does it make any difference if you call ValidateAsync instead?

View Article

New Post: FluentValidation: RuleSet unit testing

This is an old thread. The built-in TestHelper classes already have support for RuleSets. There's an optional ruleSet parameter in the ShouldHaveValidationErrorFor/ShouldNotHaveValidationErrorFor...

View Article

New Post: PropertyValidator - Create a BaseValidation class for custom error...

peagaah good workaround. I was facing off exactly this problem.

View Article


New Post: FluentValidation: RuleSet unit testing

Thanks. It works like a charm.

View Article

New Comment on "Custom"

I have few simple rules defined in RuleFor() statements. If they pass I want to execute complex validation using AbstractValidator.Custom. Do I have to repeat all the validation checks from RuleFor()...

View Article


New Post: Source Not Found error for AbstractValidator.cs

Hi, I have same issue. It is requesting source from: c:\Projects\FluentValidation\src\FluentValidation\TestHelper\ValidatorTester.cs Which directory I do not have. J.

View Article

New Post: Source Not Found error for AbstractValidator.cs

Doesn't appear to be an issue with FluentValidation itself - probably a configuration issue within visual studio. Make sure you have debugging of external code disabled in the debugging preferences.

View Article


New Post: Chaining Rules with multiple When

I have a property that has multiple rules that need to be applied. But each rule has a condition for when to apply the rule to the property. I've defined it as...

View Article

New Post: Chaining Rules with multiple When

By default, a When condition applies to all previous validators in the chain, so this isn't what you want. Your first validator (the BetweenInclusive) has 3 Whens applied, because you call When 3...

View Article

New Post: Chaining Rules with multiple When

Thank you. I had a feeling that would be the case.

View Article
Browsing all 1917 articles
Browse latest View live


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