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 functionality of adding multiple validations #164

Open
Manask322 opened this issue Jan 24, 2022 · 0 comments
Open

Add functionality of adding multiple validations #164

Manask322 opened this issue Jan 24, 2022 · 0 comments

Comments

@Manask322
Copy link

Manask322 commented Jan 24, 2022

It was looking for a feature where one should be able call a function which takes input as multiple Validate(value interface{}, rules ...Rule) function and processes the validation in sequence and returns error if any validation fails and thereby stops validation.

Or

Convert Validate(value interface{}, rules ...Rule) to type so that once can leverage it in its use cases

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

1 participant