How does @Type() interact with discriminated unions and polymorphic DTOs in class-transformer? | Pipes | NestJS Interview Questions | NextRound.in