Hi, currently there is no guaranteed order of validation really. So it's not that generally class-level constraints would be validated before or after property level constraints (it may be an implementation-specific behavior). Now we could enforce to validate properties first, but it wouldn't by you much by itself. The reason being that we'll still validate all constraints. That is, unless you use a group sequence. I.e. I'm not exactly sure how you'd envision things to work. We'd have to have some kind of "fail fast" mode which stops the validation routine after the first erroneous constraint. |