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

Any plans for a validation hook? #5

Open
Codelica opened this issue Feb 19, 2019 · 0 comments · May be fixed by #14
Open

Any plans for a validation hook? #5

Codelica opened this issue Feb 19, 2019 · 0 comments · May be fixed by #14
Labels
feature-request Request for a new feature

Comments

@Codelica
Copy link

Is your feature request related to a problem? Please describe.
Validation is often necessary, would be nice to offer a hook to keep things clean

Describe the solution you'd like
Perhaps a "validate" option that accepts a regex expression & warning message, or a function that returns true/false and warning message to allow for validation. Better yet "validate" could accept an array of these, such that specific checks could be isolated (less than 8 chars, all lowercase, etc)

Additional context
N/A

@klaudiosinani klaudiosinani added the feature-request Request for a new feature label Feb 27, 2019
@sbencoding sbencoding linked a pull request Jun 10, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants