Can't see relation field in Types
Hi,
How do I make
stages
visible in my code? (What I mean is in the image attached, stages
doesn't appear on the types for ProjectPage
.)
![No description](https://cdn.answeroverflow.com/1264579810466988032/image.png)
2 Replies
@thai Where is
ProjectPage
defined (being imported from)?
If you are importing it from one of the types generated by Prisma Client, make sure to generate the client every time after making schema changes.
If you are manually defining a ProjectPage
type/interface, you will need to update this every time your schema.Yep this is even after I run
npx prisma generate