Posted
about 11 years
ago
by
nportelli
Yes using ASP.NET MVC. Message says that the field can't be empty. If it's coming from MVC I'm not sure from where. I didn't think it had validation built in. There are not data annotations on the model. Just weird.
|
Posted
about 11 years
ago
by
JeremyS
Hi
What message are you seeing?
Are you using ASP.NET MVC? If so, it's likely that this message is coming from MVC, not from FluentValidation.
|
Posted
about 11 years
ago
by
nportelli
How do you tell FluentValidation that it's ok something is empty or the default value?
|
Posted
about 11 years
ago
by
JeremyS
If you find FluentValidation useful, please consider making a donation. Changes in this release:
Added Czech and Finish translation of default error messages
Allow nullable target properties for greater/less validators
Apply pull request: RuleForEach doesn't respect When condition
Remove support for MVC4
Fix dependency for WebApi integration
|
Posted
about 11 years
ago
by
If you find FluentValidation useful, please consider making a donation.
Changes in this release:
Added Czech and Finish translation of default error messages Allow nullable target properties for greater/less validators Apply pull request:
|
Posted
about 11 years
ago
by
JeremyS
NuGet Packages are available
FluentValidation The core FluentValidation assembly available either for .NET 4.0/4.5 or as a portable class library for Silverlight and Windows Phone 8
Install-Package FluentValidation
FluentValidation.Mvc5Integration
|
Posted
about 11 years
ago
by
JeremyS
NuGet Packages are available
FluentValidation The core FluentValidation assembly available either for .NET 4.0/4.5 or as a portable class library for Silverlight and Windows Phone 8
Install-Package FluentValidation
FluentValidation.Mvc5Integration
|
Posted
about 11 years
ago
by
Jeremy Skinner
Update version number
|
Posted
about 11 years
ago
by
Jeremy Skinner
Remove MVC4 build steps - MVC4 support finished in FV 5.1
|
Posted
about 11 years
ago
by
maziarkaradoslaw
https://fluentvalidation.codeplex.com/discussions/544810Validating child properties like this:``` _validator.ShouldHaveValidationErrorFor(el => el.Child.Child.Property, model);```,throws error cause in ValidatorTester it checks only
|