Closed Luferov closed 1 year ago
You cant generate own type.
But you can extend generated class, like this one https://github.com/unlight/nest-typescript-starter/blob/master/src/user/models/user.ts Also, see https://github.com/unlight/prisma-nestjs-graphql#objecttype
Hi! Just simple question. Could I use my own custom types in generation, for example, User model?
In order not to produce entities and expand the functionality.