- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1
 
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestresearchInvestigating potential issues, compatibility, or unknown behavior.Investigating potential issues, compatibility, or unknown behavior.
Milestone
Description
Currently, FluentValidation is tightly coupled to EditModelValidatorBase<TDerived>. Should we abstract it to support other validation libraries?
This would require to implement a "validation handler API".
Consequences & Ideas
-  Delegate lifecycle stages and responsibilities to the validation handler:
- Support initialization and disposal (tear-up / tear-down).
 - Resolve library-specific, possibly lifecycle-aware (e.g. disposable) validators.
 -  Pull up 
ServiceScopeSourceto the parameters transition API. 
 - Allow validation handlers to participate in the parameters transition API.
 -  Consider static vs non-static validation handlers:
- If static, how do we manage external state resolution or storage?
 
 
Proposal
TODO
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestresearchInvestigating potential issues, compatibility, or unknown behavior.Investigating potential issues, compatibility, or unknown behavior.