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 async handling #12

Open
Macrofig opened this issue Apr 25, 2017 · 1 comment
Open

Add async handling #12

Macrofig opened this issue Apr 25, 2017 · 1 comment
Assignees

Comments

@Macrofig
Copy link
Contributor

Validatejs allows custom async validations. If a constraint contains an async validation, validatejs will throw an error; the async validator method must be used.

Package should have new api that opts-in to async method instead of sync method. The async method returns a promise while the sync method returns errors.

@Macrofig Macrofig self-assigned this Apr 25, 2017
@justinbmeyer
Copy link

@Macrofig did you fix this?

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