Roman Vasilev

Results 164 comments of Roman Vasilev

I was able to narrow down schema models to ``` model Customer { number String @id destinations Destination[] collectors Profile[] @relation(name: "collector") favoriteDelivery Delivery @relation(fields: [id_favoriteDelivery], references: [id]) id_favoriteDelivery String...

> Any way to bypass this You can skip type check here, by converting to `any` and then to `Prisma.CustomerUpdateInput` or you can create new variable with type `Prisma.CustomerUpdateInput` and...

I did not get the idea of removing `@default`. I almost sure that is TS issue https://github.com/microsoft/TypeScript/issues/29112 https://github.com/microsoft/TypeScript/issues/46631 https://github.com/microsoft/TypeScript/issues/34933 People are saying that downgrading to `[email protected]` solves the issue, but...

@TMInnovations I can suggest solution to solve the issue, but it require patch typescript. 1. Find `tsc.js` and following source of code ![image](https://user-images.githubusercontent.com/301732/146185407-138402bd-94cc-47c4-bad3-75dd6a24c3e9.png) 2. Increase `targetDepth` (or `sourceDepth`) I was...

Triple comments of models will be copied to description property of ObjectType decorator, and will be visible in graphql schema. https://github.com/unlight/prisma-nestjs-graphql/blob/8896256a8e9eaf4422f2a1939889b8926b61f2a4/prisma/schema.prisma#L27-L29

Not possible, Prisma does not expose documentation (triple comments) for enum values.

@SynergyEvolved Can you create a feature request in http://github.com/prisma/prisma?

What is your prisma schema, what version of nestjs and library are you using?