clean-architecture icon indicating copy to clipboard operation
clean-architecture copied to clipboard

The FluentValidation.AspNetCore package is no longer being maintained

Open viktorsarkany opened this issue 1 year ago • 1 comments
trafficstars

viktorsarkany avatar Jan 15 '24 19:01 viktorsarkany

Where does it say that? https://docs.fluentvalidation.net/en/latest/

xavierjohn avatar Jan 26 '24 23:01 xavierjohn

In the README.md https://github.com/FluentValidation/FluentValidation.AspNetCore/commit/347b0535e5fe93bdc39ca031b3f971e0af1619b4

They recommend moving away from this package and use the core FluentValidation package with a manual validation approach as detailed at https://docs.fluentvalidation.net/en/latest/aspnet.html

ccaesarw avatar Jan 29 '24 22:01 ccaesarw

I replaced FluentValidation.AspNetCore with FunctionalDdd.FluentValidation https://github.com/xavierjohn/clean-architecture/commit/02234fb93c5b0f29ec18f38911a71e6788f17192

Invalid commands can no longer be created. The constructor is private and does not rely on mediator Validation Behaviour.

xavierjohn avatar Jan 31 '24 05:01 xavierjohn