Skip to content

devjayprakash/prisma-generator-dto-nestjs

Repository files navigation

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