Validation was not triggering
Our controller classes use the @Valid
annotation to ensure certain arguments are well "valid".
However if the controller class is not annotated with @Validated
spring actually ignores these annotations and performs no validation.
Todo:
-
Put @Validated
in the code -
Document how we prefer to do validation in the contributing guide.
Edited by Liam Clark