@brakebein/prisma-generator-nestjs-dto
Advanced tools
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
Changelog
[1.11.2] - 2022-04-20
'
with \'
, otherwise string generation breaksChangelog
[1.11.1] - 2022-04-14
@default("")
resulted in empty default
value: @Apiproperty({ default: })'