fillumina / krasa-jaxb-tools

XJC / JAXB plugin for generation of Bean Validation Annotations 2.0 (JSR-380)
Apache License 2.0
6 stars 10 forks source link

Resolve bug causing multiple @Valid annotations on List-types #11

Closed Viserius closed 5 months ago

Viserius commented 9 months ago

For our XSD which I am unable to share, sometimes two @Valid annotations are added to Lists. This PR fixes this problem, by reverting back to the original approach of checking whether an annotation was added already.

fillumina commented 9 months ago

Thank you for your pull request but unfortunately I cannot accept it as is because of some changes you made to the pom.xml (some users need JDK 1.8). So I am merging it manually and adding some tests.