prisma relations generated types

So I've ran to a problem where the generated types from prisma don't include my relationships, I've googled a bit more and saw this was an issue for many people but not many people have any answers at all, wondered if anyone here know how to deal with this?
I've tried creating my own type with the prims getPayload and including my relationships but when fetching data it is automatically refering to the generated prisma types and I cant go around hardcoding that everywhere it seems like a bad idea...
Trying to deploy and it keeps failing because of that 😦
Was this page helpful?