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

Perform setting save validation #82

Open
rcalv002 opened this issue May 10, 2022 · 3 comments
Open

Perform setting save validation #82

rcalv002 opened this issue May 10, 2022 · 3 comments

Comments

@rcalv002
Copy link

Hello!

What should we override to perform validation when saving settings through this module?
Ideally we can override and check if the setting group is x then perform some validation

@rcalv002
Copy link
Author

Any comment?

@gdlcf88
Copy link
Member

gdlcf88 commented Jun 1, 2022

cc @wakuflair

@wakuflair
Copy link
Member

There's no backend validations yet.

We could design a mechanism to do it.
The SetSettingValuesAsync method should be the entry point.

public virtual async Task SetSettingValuesAsync(Dictionary<string, string> settingValues)

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

3 participants