Generated types from Prisma client are not getting assigned automatically.
I'm currently following the create-T3-app tutorial with some small twists on my end (I use NextAuth and Postgres instead of clerk/MySQL, but I don't see how it would relate to this).
For some reason, my types (which are correctly generated by Prisma) are not getting assigned to the Post(s) I load from my DB.
(see pictures, lighter background is Theo and darker background is me)
Any idea what could be causing this ?
1 Reply
Okay I think I found why but I'm still not sure how to solve it. Post is a PrismaPromise of the other type that I'm getting. Any idea why/how to solve it ?