@brakebein/prisma-generator-nestjs-dto
Advanced tools
Changelog
[1.24.1] - 2025-01-18
Decimal
fields, which (de-)serializes string
values instead of number
[#63][i63]Changelog
[1.24.0] - 2025-01-18
wrapRelationsAsType = "true"
to import relation dependencies as types to solve circular reference issues with SWC [#39][i39] [#49][i49], making outputApiPropertyType = "false"
obsolete (deprecated)showDefaultValues = "true"
makes fields with @default
attribute visible by default [#51][i51]@DtoCreateRequired
that marks field required in CreateDTO
that is otherwise optional (equivalent to @DtoUpdateRequired
) [#55][i55]@DtoCastType
in favor of @DtoOverrideType
and @DtoOverrideApiPropertyType
to control type casting for both property type and type of ApiProperty decorator separately [#54][i54]noDependencies = true
, i.e. no dependency @prisma/client
[#48][i48]@DtoRelationRequired
still marking property as optional [#54][i54]Changelog
[1.23.3] - 2024-10-26
IsAlphanumeric
class-validator [#56][pr56]Changelog
[1.23.2] - 2024-09-30