can you Infer relations?
im really loving how drizzle plays well with relations, but im wondering is there a way to get types for relations?
in prisma you can use
Prisma.YourModelGetPayload<{}>
to generate a type with relations, is this possible with infermodel?
i tired the most obvious way and that didnt work
3 Replies
Not possible at the moment, but it's a good thing to have, will add it to backlog
I do it likes this