in my case of making wizards, @validated seems to be the perfect option.
on step1 I might want to just check constraint for certain properties and differently on step2 ignoring step1 .

look at below tutorial:
https://lmonkiewicz.com/programming/get-noticed-2017/spring-boot-rest-request-validation/

Advertisements