Roman Vasilev
Roman Vasilev
@IgnisDa Could you check this again in your project
Where is defined `AvaliblePrintArea`? Inside model? It's not valid syntax (prisma v3.14) ``` model Variant { id String @id @default(auto()) @map("_id") @db.ObjectId title String avaliblePrintAreas AvaliblePrintArea[] } type AvaliblePrintArea {...
Yes I tried with mongodb as provider option. Could you specify other options from your schema? And link to prisma documentation about nested embedded types.
I do not see where type defined **inside** model. https://www.prisma.io/docs/concepts/components/prisma-client/composite-types#example-schema this example is working for me, with one exception, I replaced `price Decimal` to `price Int` Because of error ```...
Repository with steps to reproduce is ideal option. But full schema or part of it which reproduce the error is also ok.
Mostly because of TS error below: ``` export enum MediaType { MOVIE = "MOVIE", TV = "TV" } export class MovieGroupBy { mediaType!: MediaType; //
No, sorry, there is no way to choose type between array and item. And how `PaginatedPosts` is look like? Will it resolves with nestjs `@Field` decorator to list? (Typescript type...
I'm still thinking that something wrong with this and it will not work. ``` export class User { @Field(() => PaginatedPosts, { nullable: true }) events?: Array } ``` I...
I think you need another generator, have you tried https://github.com/omar-dulaimi/prisma-class-validator-generator ?
https://github.com/AnandChowdhary/prisma-class-validator https://github.com/botika/prisma-generator-nestjs-dto