You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few months ago, I forked this repo to add some additional features according to our project needs. One of them was to include those class validation decorators. You may want to have a look and try here: https://www.npmjs.com/package/@brakebein/prisma-generator-nestjs-dto
Problem
I cannot add custom validation class annotations to the generated typescript classes from the
prisma.schema
Feature Request
If there is a model that looks like this:
It would be nice to have the ability to add annotations as follows:
that would create a class like this:
The text was updated successfully, but these errors were encountered: