must be a valid enum class validator 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?
}