title: Class Validators are not working when the type is a Record <k,v> - NestJS
body: <p>We have a DTO property where its type is <code>Record&lt;string, Animal&gt;</code> and <code>Animal</code> is another DTO with class validators like @IsDefined(), @IsNotEmpty(). However these validations are not working as expected and it's probably because it has the Record type.</p>
  <p>I already tried adding <code>@ValidatedNested({ each: true })</code> but still didn't work. How could we make the validation work for the <code>Animal</code> dto in <code>Record&lt;string, Animal&gt;</code>?</p>