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

Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module

Results 94 prisma-nestjs-graphql issues
Sort by recently updated
recently updated
newest added
trafficstars

my backend generates the DTOs but I also want to make use of them in the frontend wherein i have forms that also use class-validator. However, the generated DTOs make...

question

Hi 👋 I have the following model ```prisma model BrandFollow { id Int @id @default(autoincrement()) /// @HideField({ input: true }) createdAt DateTime @default(now()) /// @HideField({ input: true }) updatedAt DateTime...

question

Is it possible to generate the _count property as always { nullable:true }? I couldn't find the generator option to do that.

question

Hello, I am wondering if this could be supported. https://docs.nestjs.com/graphql/extensions

question

### schema.prisma ### expected output is this possible? Thank you.

First of all, thank you for creating this awesome plugin. It helps a lot. 👍 Here is my question Prisma Schema ``` model Post { id Int @id @db.UnsignedInt @default(autoincrement())...

question

Is there a reason why enums are destructured in the `ObjectType` ? ```typescript export enum MediaType { MOVIE = "MOVIE", TV = "TV" } registerEnumType(MediaType, { name: 'MediaType', description: undefined...

question

Is there a way to generate types inside default folder, as in case for 'prisma-client-js' ?

question

Hi, When i use ` status_id Int @id @default(autoincrement())` it not generates id field in update input file. But ` status_id Int @id @default(cuid())` works

prisma

I would like to know if i can set a Preffix for each class that is generated for example for model User to be generated as PrefixUser, UpdateOnePrefixUser, etc...

question