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 ArticleNew 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 ArticleCommented 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 ArticleCreated 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 ArticleEdited 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 ArticleSource code checked in, #14352c9906e3
Fix issue where OverridePropertyName didn't work with SetValidator/SetCollectionValidator
View ArticleCommented 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 ArticleCommented 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 ArticleCreated 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 ArticleSource code checked in, #6179600fe393
Bug fix wwhen comparing non IComparables in EqualNotEqual validator
View ArticleCommented 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 ArticleCreated 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 ArticleEdited 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 ArticleEdited 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 ArticleEdited 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 ArticleEdited 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 ArticleCommented 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 ArticleCreated 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 ArticleClosed 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