micro-elements/MicroElements.Swashbuckle.FluentValidation

Use FluentValidation instead of FluentValidation.AspNetCore

cremor opened this issue · 6 comments

Continuation of #97

FluentValidation.AspNetCore support is ending, see FluentValidation/FluentValidation#1959
The workaround mentioned in the readme and in #97 is showing compiler warnings because both IValidatorFactory and ServiceProviderValidatorFactory are marked as obsolete in FluentValidation, see FluentValidation/FluentValidation#1961

I suggest to modify this (very useful!) library to work without FluentValidation.AspNetCore by default.
Until this is done an updated workaround that doesn't raise compiler warnings would be great.

Yes I heard about these changes. Will try to adapt code for new DI needs.

Please check 6.0.0-beta.1

6.0.0-beta.1 seems to work fine, thanks.

cremor commented

@petriashev When will v6 be released?

@petriashev When will v6 be released?

I was on vacation and before that was busy on 140%.
It's not my main project. Ping me sometime!

lonix1 commented

Beta seems ok.
Let us know if we can help somehow to push it to v6.