class validator value matches code example
Example: typescript class validator validate enum array
export class UserDto {
@IsEmail()
readonly email: string;
@IsOptional()
@IsEnum(Permissions, { each: true })
readonly permissions: Permissions[]; <- How to validate this?
}