Roman Vasilev

Results 164 comments of Roman Vasilev

When this feature will be implemented?

@uittorio Does it work for you? It doesn't for me, still same errors.

It is not possible. Generator doesnt know which classes will be used. You can generate abstract classes and then inherit only required. But index js still stays large in size.

List of fields is coming from prisma, see this issue https://github.com/prisma/prisma/issues/6967

@Musbell Update of what? I mentioned bug in prisma where id field with `@default(autoincrement())` is not generating in `UpdateInput` class, but it does for string and for `default(0)`

Optional fields made as `string | null` for compatibility with prisma model types, check this issue #41

@SynergyEvolved It is not about deleting, it's about compatibility. Exclamation mark in typescript means "suppress errors when accessing to possible nullable or undefined" Without exclamation mark with `compilerOptions.strict = true`...

Sorry, but I cannot reproduce the error with default settings. ``` model Parcel { id String @id @default(cuid()) l Float? b Float? h Float? mass Float? // RELATIONS labels Dalabel[]...

I thought that problem is `requireSingleFieldsInWhereUniqueInput`, but it is not. I able to reproduce it from repository you provided, unfortunately, it is not clear where is the root of issue.