Transformations
Closed this issue · 1 comments
ChrisVilches commented
Am I even using @ToString()
?
@Trim()
should work without checking the type.
ChrisVilches commented
@Trim()
must check types, because transformations are applied before the validations, this means that the @IsString()
will happen after the .trim
has been applied (to a value that's not necessarily a string).
@ToString()
removed.