You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing the following issue, when i am trying to perform update on entities.
Mongo Prisma Schema model Post { id String @id @default(auto()) @map("_id") @db.ObjectId title String description String? ... }
I am getting the following error Invalid prisma.post.update()` invocation:
{
where: {
id: '638354a88b6732cd4e897dbf'
},
data: {
id: '638354a88b6732cd4e897dbf',
~~
title: 'New post',
description: 'string',
...
Unknown arg id in data.id for type PostUncheckedUpdateInput. Available args:
type PostUncheckedUpdateInput {
title?: String | StringFieldUpdateOperationsInput
description?: String | NullableStringFieldUpdateOperationsInput | Null
...
}
`
Anyone knows how i can solve this ? Does adminjs support removing attributes from requests ?
The text was updated successfully, but these errors were encountered:
Hello,
I am facing the following issue, when i am trying to perform update on entities.
Mongo Prisma Schema
model Post { id String @id @default(auto()) @map("_id") @db.ObjectId title String description String? ... }
I am getting the following error
Invalid
prisma.post.update()` invocation:{
where: {
id: '638354a88b6732cd4e897dbf'
},
data: {
id: '638354a88b6732cd4e897dbf',
~~
title: 'New post',
description: 'string',
...
Unknown arg
id
in data.id for type PostUncheckedUpdateInput. Available args:type PostUncheckedUpdateInput {
title?: String | StringFieldUpdateOperationsInput
description?: String | NullableStringFieldUpdateOperationsInput | Null
...
}
`
Anyone knows how i can solve this ? Does adminjs support removing attributes from requests ?
The text was updated successfully, but these errors were encountered: