Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 673 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 673 Bytes

Prisma Generator DTO nest js

This is a DTO generator for prisma and nest js

Warning :: The package is in very early stage of development and is not recommended to be used for anything other than side projects

Some important definitions that are required

  • DTO - A DTO is an object that defines how the data will be sent over the network. We could determine the DTO schema by using TypeScript interfaces, or by simple classes.

Todo list

  • Generate entity DTO
  • Generate update DTO
  • Generate connect DTO
  • Generate create DTO
  • Handle imports
  • Logic for conditional dto entity
  • Handle various file naming conventions