Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enable server-side validation #7
Validation on server side has been removed in the Angular version.
More over, duplicate names are not handled.
Check the Spring Petclinic ReactJS version. Errors are correctly handled: https://github.com/spring-petclinic/spring-petclinic-reactjs
I set up the webapplication without doing any modification on it and tried out your cURL-command, but got the following return:
Trying to do the change you proposed directly in the GUI, I am able to add Pet instances with a single whitespace as name, but not with an entirely empty ("") name.