[bv-dev] BV 2.0 - Add constraints?

Marco Molteni moltenma at gmail.com
Fri Sep 9 05:34:32 EDT 2016


Hi all,

which is the best / common way to get a representative feedback according
to your experience?
Thanks!

On Thu, Sep 8, 2016 at 7:44 AM, Christian Kaltepoth <christian at kaltepoth.de>
wrote:

> I also think that adding the most popular 3rd party constraints directly
> to the spec is a good thing. Especially @NotBlank and @NotEmpty.
>
> However, I also agree that it would be nice to gather more feedback from
> the community to learn which constraints people would like to see in the
> spec.
>
> 2016-09-06 20:50 GMT+02:00 Michael Nascimento <misterm at gmail.com>:
>
>> +1 to including them.
>>
>> Regards,
>> Michael
>>
>> On Mon, Aug 22, 2016 at 2:37 PM, Marco Molteni <moltenma at gmail.com>
>> wrote:
>> > Hi all,
>> >
>> > It would be possible to add some built-in constraints to the V 2.0?
>> >
>> > @NotBlank, @NotEmpty, @Length are used very often in projects, they are
>> > already present in Hibernate Validator and their implementation is well
>> > defined.
>> >
>> > What do you think?
>> >
>> > Here a list of the most used constraint for GitHub's projects (the
>> numbers
>> > change at every request but you get the idea. HV = Hibernate Validator,
>> BV =
>> > Bean Validation):
>> >
>> > 189'143 - BV - NotNull
>> >  56'902 - BV - Size
>> >  39'551 - HV - NotEmpty <-
>> >  20'687 - HV - NotBlank <-
>> >  17'735 - BV - Pattern
>> >  16'763 - HV - Email
>> >  16'033 - BV - Min
>> >  12'769 - HV - Length <-
>> >   7'806 - BV - Digits
>> >   4'982 - BV - Max
>> >   4'971 - BV - Past
>> >   3'598 - BV - DecimalMin
>> >   2'753 - BV - AssertTrue
>> >   2'379 - BV - DecimalMax
>> >   2'308 - BV - Future
>> >   1'999 - HV - Range
>> >   1'497 - HV - URL
>> > < 1'000 other constraints
>> >
>> > Thanks
>> >
>> > Cheers
>> >
>> > Marco
>> >
>> >
>> > _______________________________________________
>> > beanvalidation-dev mailing list
>> > beanvalidation-dev at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/beanvalidation-dev
>> _______________________________________________
>> beanvalidation-dev mailing list
>> beanvalidation-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev
>>
>
>
>
> --
> Christian Kaltepoth
> Blog: http://blog.kaltepoth.de/
> Twitter: http://twitter.com/chkal
> GitHub: https://github.com/chkal
>
>
> _______________________________________________
> beanvalidation-dev mailing list
> beanvalidation-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20160909/40aacd91/attachment.html 


More information about the beanvalidation-dev mailing list