@brakebein/prisma-generator-nestjs-dto
Advanced tools
Changelog
[1.11.1] - 2022-04-14
@default("")
resulted in empty default
value: @Apiproperty({ default: })'
Changelog
[1.10.0] - 2022-03-29
outputType
to generate DTOs as class
or as interface
Changelog
[1.9.0] - 2022-03-29
flatResourceStructure
to flatten the subfolders if outputToNestJsResourceStructure
is true
noDependencies
to output DTOs without any imports and decorators from external dependencies (useful to generate DTOs for frontend)@example
annotation adds example to @ApiProperty()
Changelog
[1.8.1] - 2022-03-25
import
of ApiProperty
if only type-format annotationsChangelog
[1.8.0] - 2022-03-25
DTO
classes (same as entity classes, but without relation fields)@ApiDecorator()
only in the CreateDTO
and UpdateDTO
classes