TS Types when using schema and "with"
So I've recently started a project and after using Prisma for an OSS i've been contributing to I decided to try out Drizzle. Overall really liking it, but I'm running into a weird thing where sometimes relationships will show up when added in with the
For example, in this case there is a many to many relationship between users and households; a single user can belong to many households, and households can have many users. The DB schema is
Where
Gives me the attached image, but other relationships work without error.
I feel like I should also note that up until a few days ago, the types here were working just fine.
with property, but other times they refuse to.For example, in this case there is a many to many relationship between users and households; a single user can belong to many households, and households can have many users. The DB schema is
user <-> users_to_households(user.id, household.id) <-> householdWhere
users has the following schema Gives me the attached image, but other relationships work without error.
I feel like I should also note that up until a few days ago, the types here were working just fine.
