prisma-nestjs-graphql
prisma-nestjs-graphql copied to clipboard
Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module
Hi, I try to use count args (ex. EmployeeCountArgs) but I can't find the class. I found all args except this. Am I missing something, or count args class is...
First, thank you for that awesome library! I love it! Second: For some Entities I see "Problems" in the VSCode Problems-Panel. I'm glad it compiles without errors, but.. did anyone...
I'm using a MariaDB JSON field to store an **array** of `CandleInfo`, which is not created in Prisma schema. `CandleInfo` is created manually in a dedicated file. The problem is...
Consider the following schema: ``` model User { /// @FieldType({ name: 'PaginatedPosts', from: 'custom-type', output: true }) posts: Post[] } model Post {...} ``` Which results in this: ``` export...
generated models are with comments is there any way to generate inputs args ... with comments?
Its a bit confusing to me but when using the generated input types im not able to get args from my graphql mutations. When using my own dto as described...
something like below: ``` import { FindManyUserArgs , User } from 'prisma/@generated/prisma-nestjs-graphql'; import { PrismaService } from './prisma.service' // just an example @Get('users') async getAllUsers(@Query() query: FindManyUserArgs): Promise { return...
`yarn prisma generate` succeeds in the local environment, but fails with the following error when run in Docker. ```bash Error: EIO: i/o error, open '/app/packages/backend/prisma/model/tenant-job/tenant-job-create-many-job.input.ts' ``` Strictly speaking, `yarn prisma...
The application build results in a very large index.js file, containing all the classes generated from my models in schema.prisma. I see a problem with this as I won't use...
Hi there, I am not sure what I am missing but when I put a field as optional in the schema file like: ``` description String? ``` end up with...