Jakarta Bean Validation

Survey - Behavior of @Positive and @Negative constraints

Posted by Gunnar Morling    |    12 May 2017    feedback

Based on our previous survey we’ve recently added the new constraints @Positive and @Negative to the Bean Validation spec. Now we’ve had an interesting discussion on some details of those constraints, e.g. should 0 (zero) be considered as a valid value by default? I.e. what’s the more common use case, to consider 0 as valid or not?

So we thought let’s make another survey to gauge the community feedback on those issues. You’d help us very much by answering the two questions below, you won’t need more than a minute.

If you have any other thoughts you’d like to share, either add an answer to the free-text question or post a comment below. The survey will be open until the end of next week.

Thanks a lot for your help!