I saw this earlier. I do need some more time to take a look - hopefully over the weekend. I'm not in favor of dropping something that has been advertised for 8 years. Preference would be to work around it in TomEE, but I don't want to push for that unless I'm prepared to put in some effort and look at it myself, or at least help someone else who wants to have a go.
Jon On Fri, May 17, 2019 at 3:37 PM David Blevins <[email protected]> wrote: > Let's have some discussion on the TomEE side how we want to handle this > regression: > > - https://issues.apache.org/jira/projects/BVAL/issues/BVAL-175 > > Short version if you're not motivated to click the link is the significant > performance improvements introduced in BVal last month cause a regression > in this example: > > - > https://github.com/apache/tomee/tree/master/examples/bean-validation-design-by-contract > > Read the background in the JIRA, but basically there are at least three > options: > > 1. TomEE can add the checks through a CDI extension quite easily, > 2. BVal could get a toggle switched off by default > 3. We can just say this is not a feature. > > I'm personally fine with either of the three. I'm not sure what Hibernate > does and if they have the same unofficial feature. > > One consideration is that the example in question is 8 years old and was > the only bval example on the website for most that time. > > > -- > David Blevins > http://twitter.com/dblevins > http://www.tomitribe.com > >
