I can't get the correct typing

Hello, I am new to drizzle and I am in a situation that I don't know how to solve, I would appreciate your help. In this case I have the table of “users” and “account” in this case I want to return the user with its relation which is ‘account’ but it does not return the correct typing for the “account” part. As you can see it says “never”, I don't know what the problem could be. I export correctly the table with its relations on both sides
No description
2 Replies
dfrn
dfrn3mo ago
Did you figure this out? I had this issue before. It would be very helpful, if you send the schema, the export and the imports. Without that information its very hard to debug.
Sillvva
Sillvva3mo ago
Would have to see the schema and relations to diagnose it. There's likely an issue with the relations setup.

Did you find this page helpful?