Skip to content

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:

  1. Put @Validated in the code
  2. Document how we prefer to do validation in the contributing guide.
Edited by Liam Clark