Applies the validator function to each element if the value is an array.
Validation error message to be shown if validator function return false.
Prevents an error from being thrown if the validation fails.
Ensures that a relation exists before defining the Transformer decorator.
Applies the validator function to each element if the value is an array.