validator icon indicating copy to clipboard operation
validator copied to clipboard

FastFail feature #1042

Open Paxman23l opened this issue 2 years ago • 4 comments

Fixes Or Enhances

Adds failfast feature which returns the first validation error encountered. This can be set by a flag or function call. This PR was based on Issue 1042

Make sure that you've checked the boxes below before you submit PR:

  • [x] Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

Paxman23l avatar Jul 25 '23 15:07 Paxman23l

Coverage Status

coverage: 74.012% (+0.02%) from 73.991% when pulling 57d69a83fc5fba973b9107449043630dd9b2b975 on Paxman23l:paxman23l/fail-fast-feature into 5bf55dc757cad229e8297d42640ec036e2360df7 on go-playground:master.

coveralls avatar Jul 25 '23 15:07 coveralls

interesting idea, let me think about the implications for a while :)

deankarn avatar Aug 06 '23 17:08 deankarn

Will this feature be merged? It's a very interesting and useful addition, and I'm looking forward to it.

xmgtony avatar Apr 15 '24 15:04 xmgtony