Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brakebein/prisma-generator-nestjs-dto

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brakebein/prisma-generator-nestjs-dto - npm Package Versions

1
46

1.12.2

Diff

Changelog

Source

[1.12.2] - 2022-09-09

Fixed

  • optional fields can be null only UpdateDTO
brakebein
published 1.12.1 •

Changelog

Source

[1.12.1] - 2022-09-09

Fixed

  • optional fields can be null in CreateDTO and UpdateDTO
brakebein
published 1.13.0-beta.0 •

Changelog

Source

[1.13.0-beta.0] - 2022-09-02

Added

  • support for composite types (including nested class validation) [#2][i2]

Changed

  • set @ApiProperty({ required: false, nullable: true } if field is optional
  • add { each: true } class-validator option if field is a list
brakebein
published 1.12.0 •

Changelog

Source

[1.12.0] - 2022-07-25

Added

  • @DtoRelationIncludeId annotation: relation IDs are omitted by default, but can be forced to be included in the DTOs
brakebein
published 1.11.4 •

Changelog

Source

[1.11.4] - 2022-05-17

Fixed

  • removed class validator @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 anymore
brakebein
published 1.11.3 •

Changelog

Source

[1.11.3] - 2022-05-02

Fixed

  • if entity prefix/suffix is specified, relation input DTOs are named incorrectly (occurs if tags like @DtoRelationCanConnectOnCreate are used)
brakebein
published 1.11.2 •

Changelog

Source

[1.11.2] - 2022-04-20

Fixed

  • escape aposthrophe ' with \', otherwise string generation breaks
brakebein
published 1.11.1 •

Changelog

Source

[1.11.1] - 2022-04-14

Fixed

  • field with attribute @default("") resulted in empty default value: @Apiproperty({ default: })'
  • parsed apiProperties were propagated to other DTOs
brakebein
published 1.11.0 •

Changelog

Source

[1.11.0] - 2022-03-31

Added

  • optionally add validation decorators from class-validator
brakebein
published 1.10.0 •

Changelog

Source

[1.10.0] - 2022-03-29

Added

  • config outputType to generate DTOs as class or as interface
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc