@brakebein/prisma-generator-nestjs-dto
Advanced tools
Changelog
[1.13.0] - 2022-09-14
@DtoTypeFullUpdate
annotation [#2][i2-comment]@ApiProperty({ required: false, nullable: true }
if field is optional{ each: true }
class-validator option if field is a list@IsDateString()
for type DateTime
and @IsDecimal
for type Decimal
Changelog
[1.13.0-beta.1] - 2022-09-10
@DtoTypeFullUpdate
annotation [#2][i2]Changelog
[1.13.0-beta.0] - 2022-09-02
@ApiProperty({ required: false, nullable: true }
if field is optional{ each: true }
class-validator option if field is a listChangelog
[1.12.0] - 2022-07-25
@DtoRelationIncludeId
annotation: relation IDs are omitted by default, but can be forced to be included in the DTOsChangelog
[1.11.4] - 2022-05-17
@IsJSON()
from CreateDTO
and UpdateDTO
for fields with Json
type, because request body is already parsed and the respective property is not a JSON string anymoreChangelog
[1.11.3] - 2022-05-02