micro-elements / MicroElements.Swashbuckle.FluentValidation

Use FluentValidation rules instead of ComponentModel attributes
MIT License
379 stars 61 forks source link

Use FluentValidation instead of FluentValidation.AspNetCore #111

Open cremor opened 2 years ago

cremor commented 2 years ago

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.

petriashev commented 2 years ago

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

petriashev commented 2 years ago

Please check 6.0.0-beta.1

cremor commented 2 years ago

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

cremor commented 1 year ago

@petriashev When will v6 be released?

petriashev commented 1 year ago

@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 1 year ago

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