prisma-nestjs-graphql
prisma-nestjs-graphql copied to clipboard
UpdateInput not have id field
Hi,
When i use status_id Int @id @default(autoincrement())
it not generates id field in update input file.
But status_id Int @id @default(cuid())
works
List of fields is coming from prisma, see this issue https://github.com/prisma/prisma/issues/6967
@unlight could you please give an example of how to make an update?
@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)