mtaa-diia / backend

Spring Boot backend
0 stars 0 forks source link

Add validators to forms #8

Open sasetz opened 1 year ago

sasetz commented 1 year ago

The validators are need for each form request, so we need them. @IlliaPonomarov please provide a list of some sort of what methods need to have them now

IlliaPonomarov commented 1 year ago

Write validator which checks that user exists by email or username. Example of validator you can find here https://github.com/IlliaPonomarov/AvoChad/blob/main/avochad-backend/src/main/java/com/example/avochadbackend/utility/validators/UserValidator.java