[bv-dev] validation-configuration.xsd and value-extractors

Michael Nascimento misterm at gmail.com
Sat May 20 06:57:01 EDT 2017


Consistency is a great argument imho, so +1 for wrapping it.

[]s
Michael

On 18 May 2017 07:04, "Guillaume Smet" <guillaume.smet at gmail.com> wrote:

> Hi,
>
> In the current revision of the spec, the value-extractor element is at the
> same level as message-interpolator for instance.
>
> So, when you want to add several value-extractors, you end up having the
> following:
> <validation-config>
>
>     <message-interpolator>org.hibernate.beanvalidation.tck.
> tests.integration.cdi.managedobjects.MessageInterpolatorUsingDepend
> encyInjection</message-interpolator>
>
>     <value-extractor>package.MapKeyValueExtractorUsingDepen
> dencyInjection</value-extractor>
>     <value-extractor>package.MapValueValueExtractorUsingDep
> endencyInjection</value-extractor>
>
> </validation-config>
>
> I was thinking that we should maybe wrap it into a value-extractors
> element. It would be nicer and more consistent with the usual conventions.
>
> What do you all think about it?
>
> --
> Guillaume
>
> _______________________________________________
> 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/20170520/d2369745/attachment-0001.html 


More information about the beanvalidation-dev mailing list