What would be the usecase? Saving time in large object graphs where I am
only interested in whether there is a
failure at all? You really need LARGE object graphs to make this worth
while.
On Mon, 04 Oct 2010 15:45:34 +0200, Emmanuel Bernard
<emmanuel(a)hibernate.org> wrote:
http://github.com/emmanuelbernard/hibernate-validator/commits/failFast
What do you guys think?
The idea is to stop a the first failure.
You can enable that :
- by property
- at config time
- when the Validator is created
Look at
http://github.com/emmanuelbernard/hibernate-validator/blob/failFast/hiber...
for code examples.
Emmanuel