battlesheep123
Explore posts from serversPPrisma
•Created by battlesheep123 on 5/15/2024 in #help-and-questions
Relation not included in the generated types
Hello,
I have the following model, generated from a database-first approach.
The query:
...returns the following data:
Unfortunately, the generated Prisma type does not include the relation "projects". This means, the following typing does not include the relation.
const entries: Entry[] = await prisma.entry.findMany({ ... })
Any idea why that is?16 replies