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

Asynchronous validators #66

Closed
dolphin278 opened this issue Feb 20, 2013 · 1 comment
Closed

Asynchronous validators #66

dolphin278 opened this issue Feb 20, 2013 · 1 comment

Comments

@dolphin278
Copy link

I wanna implement my own application-specific validators, that checks value correctness by performing external requests (asynchronously).

For example, I want to check, that some string field contains valid order number, and I can check it's validity only by referring to order processing system.

For now, as I can see, JSV validator is completely synchronous. Are there any plans on supporting asynchronous validation, or should I look for other validator then? Sure I can slap run custom validations by my own code, but it would be neat to have all validation checks in one place.

Thanks in advance.

@garycourt
Copy link
Owner

This is unlikely to ever be implemented as it would require a complete rewrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants