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

New Post: Pre Validating Property in class

No, this isn't something that's doable with FluentValidation. FluentValidation is designed to validate pre-populated object instances, typically view-models that directly represent the input that the...

View Article


New Post: Pre Validating Property in class

Thank you for a detailed explanation Jeremy. You're right, this is a domain entity validation in classes that also implement IDataErrorInfo and IValidatableObject interfaces to support Entity Framework...

View Article


Commented Issue: NuGet FluentValidation.Mvc does not have a stong name [7128]

I am unable to sign my project because FluentValidation.Mvc doesn't have a strong name. You should sign the libraries you publish on NuGet like everyone else otherwise they can't be used in projects...

View Article

Created Issue: OverridePropertyName is ignored with SetCollectionValidator...

ValidationResult.PropertyName is generally affected by .OverridePropertyName, except where there is a collection validator. In these cases, ValidationResult.PropertyName still matches the (indexed)...

View Article

Edited Issue: OverridePropertyName is ignored in...

ValidationResult.PropertyName is generally affected by .OverridePropertyName, except when used with a navigation property with a sub-validator set. In these cases, the first portion of the...

View Article


Source code checked in, #14352c9906e3

Fix issue where OverridePropertyName didn't work with SetValidator/SetCollectionValidator

View Article

Commented Issue: OverridePropertyName is ignored in...

ValidationResult.PropertyName is generally affected by .OverridePropertyName, except when used with a navigation property with a sub-validator set. In these cases, the first portion of the...

View Article

Commented Issue: Validating dynamic attributes [7127]

hi, awesome library, but could you tell me please how to validate the following```public class Product{ public string Id { get; set; } public List<Attribute> Attributes { get; set; }}public class...

View Article


Created Issue: EqualValidator and NotEqualValidator fail if property/value...

New Hi, in the latest (unstable) check in, usage of the new Internal.Comparer fails in these validators if they've been used for object type properties that don't implement IComparable. Suggest the...

View Article


Source code checked in, #6179600fe393

Bug fix wwhen comparing non IComparables in EqualNotEqual validator

View Article

Commented Issue: EqualValidator and NotEqualValidator fail if property/value...

New Hi, in the latest (unstable) check in, usage of the new Internal.Comparer fails in these validators if they've been used for object type properties that don't implement IComparable. Suggest the...

View Article

Created Issue: Problem with a Must overload. [7131]

I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents the concise usage...

View Article

Edited Issue: Problem with a Must overload. [7131]

I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...

View Article


Edited Issue: Problem with a Must overload. [7131]

I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...

View Article

Edited Issue: Problem with a Must overload. [7131]

I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...

View Article


Edited Issue: Problem with a Must overload. [7131]

I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...

View Article

Commented Issue: Problem with a Must overload. [7131]

I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...

View Article


Created Issue: Polish message "inclusivebetween_error" [7132]

In Messages.pl.resx is: <data name="inclusivebetween_error" xml:space="preserve"><value> '{PropertyName}' musi się zawierać pomiędzy {From} i {To}. Wprowadzono...

View Article

Closed Issue: Polish message "inclusivebetween_error" [7132]

In Messages.pl.resx is: <data name="inclusivebetween_error" xml:space="preserve"><value> '{PropertyName}' musi się zawierać pomiędzy {From} i {To}. Wprowadzono...

View Article

Source code checked in, #8762849c42e2

Fix spacing in Polish translation

View Article
Browsing all 1917 articles
Browse latest View live