Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional filter to AddFluentValidationAutoValidation() #20

Conversation

pgauledev
Copy link
Contributor

@pgauledev pgauledev commented Mar 27, 2023

Add optional filter to AddFluentValidationAutoValidation() that will allow client to opt in/out of using FluentValidation. This will help to migrate away from automatic validation.

Original discussion here -FluentValidation/FluentValidation#2091

@pgauledev
Copy link
Contributor Author

@dotnet-policy-service agree

Copy link
Member

@JeremySkinner JeremySkinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @pgauledev. The build is currently failing as it introduces 2 API breaking changes (introducing the new constructor parameters without providing backwards compatibility overloads), but apart from that it looks good. If you can make these changes then I can get this merged in.

(If you run a build locally with release configuration you can see this errors, or just with a dotnet build)

@pgauledev pgauledev force-pushed the AddOptionalFilterToAddFluentValidationAutoValidationMethod branch from ac12af8 to 7fae6eb Compare March 28, 2023 20:23
@JeremySkinner JeremySkinner merged commit 5545304 into FluentValidation:main Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants