Add .bail() functionality.#500
Add .bail() functionality.#500neobyteUK wants to merge 1 commit intoexpress-validator:masterfrom neobyteUK:master
Conversation
gustavohenke
left a comment
There was a problem hiding this comment.
The implementation and tests look good 👍
I'm not sure about what should happen to multi field validation chains, egcheck(['foo', 'bar']) or check('foo.*').
Do you think that the proposed behaviour is good enough?
Also, can you please add docs?
Thanks in advance!
|
There is an update in the readme, do you mean more than that? As for the multi-field questions, I will have a look at it but won't have time till this weekend. |
Yes, like an API doc, not just an example. |
|
Any update on this? could really use this feature :/ |
|
Hey @gustavohenke, is there any way to help to get this merged and released? This is a really useful feature. If any changes / testing are required I'll be happy to help. |
|
I'm very much hoping for this to be added. I recently tried doing things like this again but found no alternative. |
* Allow validation to return after first validator in chain fails.
|
I've |
|
@gustavohenke Hey, any chance of getting this merged? It seems like a great usability improvement. |
|
Any update on this? The associated issue just got locked by I'd be willing to take a crack at rebasing the PR, if that's the only thing needed for merging. |
|
Hello everyone, |
|
Hey all! This is out with v6.2.0! 🚢 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Uh oh!
There was an error while loading. Please reload this page.