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

Scoped validators #445

Closed
jakubfijalkowski opened this issue Jan 25, 2023 · 0 comments
Closed

Scoped validators #445

jakubfijalkowski opened this issue Jan 25, 2023 · 0 comments
Labels
priority: medium Medium-priority items that should be tackled if there are no high priority items.
Milestone

Comments

@jakubfijalkowski
Copy link
Member

As a result of a discussion on topic presented by @konradbartecki-45e6 here, it will be a good idea to move away from singleton validators or at least allow one to choose (e.g. per app) if they want to register validators as singletons or as scoped services.

Scoped validators will allow us to remove most of the extensions on FluentValidation, as we would no longer need to inject DI context or anything like that. We can also use this opportunity to upgrade FluentValidation to newer version.

@jakubfijalkowski jakubfijalkowski changed the title Singleton validators Scoped validators Jan 25, 2023
@jakubfijalkowski jakubfijalkowski added this to the v7.0 milestone Jan 30, 2023
@jakubfijalkowski jakubfijalkowski added priority: high High-priority issues that should be tackled first. priority: medium Medium-priority items that should be tackled if there are no high priority items. and removed priority: high High-priority issues that should be tackled first. labels Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Medium-priority items that should be tackled if there are no high priority items.
Projects
None yet
Development

No branches or pull requests

2 participants