New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@brakebein/prisma-generator-nestjs-dto

Package Overview
Dependencies
Maintainers
0
Versions
62
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
7

1.14.0-beta.0

Diff

brakebein
published 1.13.0 •

Changelog

Source

[1.13.0] - 2022-09-14

Added

  • support for composite types (including nested class validation) [#2][i2]
  • @DtoTypeFullUpdate annotation [#2][i2-comment]
  • optionally auto-format output with prettier [#3][pr3] (thanks to @Zyrakia)

Changed

  • set @ApiProperty({ required: false, nullable: true } if field is optional
  • add { each: true } class-validator option if field is a list
  • class-validator @IsDateString() for type DateTime and @IsDecimal for type Decimal
brakebein
published 1.13.0-beta.1 •

Changelog

Source

[1.13.0-beta.1] - 2022-09-10

Added

  • @DtoTypeFullUpdate annotation [#2][i2]
brakebein
published 1.12.2 •

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
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