Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

validate list of objects in javax validation

@Data
public class ValidList<E> implements List<E> {
    @Valid
    @Delegate
    private List<E> list = new ArrayList<>();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #validate #list #objects #javax #validation
ADD COMMENT
Topic
Name
7+5 =