The power of @validated

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s