1
Vote

Missing FluentValidationModelMetadataProvider in 4.0

description

I recently downloaded FluentValidation and I am missing following. Is this class no longer part of FluentValidation?

FluentValidation.Mvc.FluentValidationModelMetadataProvider

comments

JeremyS wrote Oct 3, 2013 at 2:38 PM

Hi

This hasn't been part of FluentValidation since v3.0 - It's out-of-scope for the project. FV will continue to support integration with MVC's validation infrastructure via the ModelValidatorProvider, but generating metadata is really very separate and is no longer part for the core project.

That being said, the source code for the old ModelMetaDataProvider is still in the repository, so you can use it if you want to, but I personally have no plans to support or extend it.