I hereby claim:
- I am escees on github.
- I am escees (https://keybase.io/escees) on keybase.
- I have a public key ASDxm8mXlO5VAatQxTbWSgvW7oiT849fsRweofrnP2p5DAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
You don't have to add your .idea
or .vs_code
directories to your .gitignore file every time you start new project.
Make it global.
touch ~/.gitignore
This constraint is an easy way to implement validation against an entity for your DTO. You just need to remember that your fields in DTO should be named exactly the same as in the entity you want to validate against. Of course it could be more sophisticated like using map for field names in DTO and entity but for now it's enough.
class UniqueDTO extends Constraint