Files
spring-boot-demo/validation/output/04-nested-and-containers.txt

15 lines
397 B
Plaintext

== nested object with @Valid
item.name: must not be blank
== nested object without @Valid
(no violations)
== List<@Valid Item>
items[1].name: must not be blank
== @Valid List<Item>
items[1].name: must not be blank
== List<@NotBlank String> and a nested record, all wrong
address.city: must not be blank | address.pinCode: PIN code must be 6 digits | roles[1].<list element>: must not be blank