Unknown field postDetail for include statement on model Post. Available options are marked with?
I’m encountering an issue with a Prisma query where I’m trying to include related models in the findUnique method. My Prisma schema defines a relation called PostDetail, but Prisma Client throws a validation error indicating that PostDetail is an unknown field. Here’s the relevant part of my Prisma schema: model Post { id String @id […]
Unknown field postDetail for include statement on model Post. Available options are marked with?
I’m encountering an issue with a Prisma query where I’m trying to include related models in the findUnique method. My Prisma schema defines a relation called PostDetail, but Prisma Client throws a validation error indicating that PostDetail is an unknown field. Here’s the relevant part of my Prisma schema: model Post { id String @id […]
Unknown field postDetail for include statement on model Post. Available options are marked with?
I’m encountering an issue with a Prisma query where I’m trying to include related models in the findUnique method. My Prisma schema defines a relation called PostDetail, but Prisma Client throws a validation error indicating that PostDetail is an unknown field. Here’s the relevant part of my Prisma schema: model Post { id String @id […]