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

Hi there! I was wondering if its possible to get the comments from the prisma schema ([link to docs](https://www.prisma.io/docs/concepts/components/prisma-schema#comments)) to show up in the { description: } section? Thanks Paul

enhancement
prisma

Hello! There was an error that didn't exist before. Everything worked correctly before I started migrating from Angular v13 → 14. **To do this, I updated...** 1. Typescript from 4.4.3...

typescript

Hello. I am going to use nested documents in MongoDB. Prisma implements this with [ebedded types](https://github.com/prisma/prisma/issues/8272) and therefore changed "model" to "type" in the prisma schema. Result during "prisma generate":...

cannot reproduce

- [x] bug: input arrays filters are not saved to model folder - [x] Datefilter should be Date | string | DateTimeFilter - [ ] No possible GraphQLUnionType as input...

Hello, I think I found an issue, unless it works as expected. I usually directly use the graphql args in the prisma function with no issue. I decided to test...

bug
prisma

Can we get more examples on how to use the DTO's of connect on create, update on create, etc??? Im really confused on how to properly use the DTO's and...

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...

question

I have a model that I don't want to expose to my graphql schema at all. The below does not work. Is there an existing solution? ```prisma /// @HideField({input: true,...

awaiting-feedback

Hi there! I'm currently using this package for a project and I encouter the following error: when I generate the types using `npx prisma generate`, I get the corresponding types...

question
need-clarification

Is it possible to make the `id` field required for all `UpdateInput` classes? ```diff @InputType() export class UserUpdateInput { - @Field(() => String, { nullable: true }) - id?: string...

question