prisma-nestjs-graphql icon indicating copy to clipboard operation
prisma-nestjs-graphql copied to clipboard

Can I rename just 'models' ?

Open sgentile opened this issue 3 years ago • 1 comments
trafficstars

I have a structure like

user and it creates user.model.ts

The class name is the same as the Prisma name.

Is it possible to name the class inside user.model.ts to something like UserDTO ?

sgentile avatar May 06 '22 15:05 sgentile

No, it's not possible.

unlight avatar May 06 '22 17:05 unlight