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'm trying to use createManyAndReturn API on polymorphic model, the base of the model (not the polymorphic part) has createdBy field, but when I'm trying to use it, I get the following error:
'Argument createdBy is missing.'
createdById Int @default(auth().id)
createdBy User @relation('ShelfCreatedBy', fields: [createdById], references: [id])
zenstack: 2.4.1
prisma: 5.18.0
The text was updated successfully, but these errors were encountered:
I'm trying to use
createManyAndReturn
API on polymorphic model, the base of the model (not the polymorphic part) hascreatedBy
field, but when I'm trying to use it, I get the following error:'Argument
createdBy
is missing.'zenstack: 2.4.1
prisma: 5.18.0
The text was updated successfully, but these errors were encountered: