I have the following DTO:
export class DataTableRequestDto /extends MetricDataRequestDto<TableMetricRequestDto>/ {
@ApiProperty()
@ArrayLength(2)
@Transform(({ value }) => value.map(DateTime.fromISO))
timeFrame: string[];
}
For whatever reason this transformation results in an error from Luxon
"Cannot read properties of undefined (reading 'zone') "
Any idea what's going on here?