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

ValidationContext is missing ServiceProvider #1868

Closed
MichalTichy opened this issue Oct 8, 2024 · 1 comment
Closed

ValidationContext is missing ServiceProvider #1868

MichalTichy opened this issue Oct 8, 2024 · 1 comment
Milestone

Comments

@MichalTichy
Copy link
Contributor

Hello,

Could it be possible to initialize the service provider in the ValidationContext? This would be especially helpful when working with complex validation attributes.

You can find the relevant code here: ViewModelValidator

The initialization can be done by calling InitializeServiceProvider

Thank you!

@exyi
Copy link
Member

exyi commented Oct 16, 2024

Resolved in #1869

@exyi exyi closed this as completed Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants