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! thanks for building the generator, it has saved me so much time already! I am however running into an issue where I can't seem to configure one-to-many relations correctly,...
First of, love the project, great work here, helps us a lot! We have multiple models and types in our schema.prisma file with many comments. When generating GraphQL classes we...
Hi, I have such simple Prisma shema **(I set omitModelsCount=true)** ``` generator client { provider = "prisma-client-js" previewFeatures = ["postgresqlExtensions"] } generator nestgraphql { provider = "node node_modules/prisma-nestjs-graphql" output =...
Hello, when generating code I am missing In `IntFilter`, but when I set false `combineScalarFilters` then everything is create prisma Version 5.7.1 prisma-nestjs-graphql Version 20.0.2 my prisma schema ``` generator...
Given a Prisma definition with an 'Unsupported' field, like this ``` model Feature { /// @Validator.IsUUID() /// @HideField({ match: 'Feature@(Create|Update)*Input' }) id String @id @unique @default(dbgenerated("gen_random_uuid()")) @db.Uuid geometry Unsupported("geometry(Polygon, 4326)")...
This look weird to me, ``` export class MovieCreateInput { @Field(() => String, {nullable:false}) @Validator.IsNotEmpty() @Validator.IsString() title!: string; @Field(() => Float, {nullable:false}) @Validator.IsNotEmpty() @Validator.IsNumber() timing!: number; @Field(() => String, {nullable:false})...
Hi guys, firstly, thanks @unlight and other contribs for this amazing GQL libs. I am currently using the lib for a medium-sized project with about 60 tables, and concerned about...
Hi Unlight, I'm unsure if I may be missing something, but could you suggest a way to ensure that relations containing a `transform` call include the required `Type()` decorator on...
I am missing fields if there is a relation based on those. E.g.: ```ts model customerTest { id Int @id @default(autoincrement()) @db.UnsignedInt /// @Validator.IsInt() posId Int @db.UnsignedTinyInt posRelation posSettings @relation(fields:...
I have enabled the prisma schema generate output option to use prisma in a monorepo environment. https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/generating-prisma-client#the-location-of-prisma-client After updating to Prisma v5, '@prisma/client' is newly imported for Prisma.AtLeast in the...