You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
Hi. I started using promises all over my code because it makes the code look beautiful. I really like this library but the problem is that errors are returned as Object not as instanceof some ValidationError class.
What I would propose is to wrap errors into validate.ValidationError class where you can still get an object calling toObject() method thus everything works the same way we just add a better support for promises.