drizzle connection missing schema types
Hello, wondering what changed in drizzle-orm 0.30+?
I cannot pass the schema anymore to the drizzle function to get types.
5 Replies
ignore the
.firstName()
part...@dane.stevens I see you're importing the schema from
"database"
, what is that pointing to?
If you're schema lives in a file named database.ts
and lives in the same folder, do "./database"
instead"database" is pointing to a package inside a turborepo monorepo
schema itself has all the correct types, it just isn't being passed through to the db constant
This may or may not be a monorepo specific issue
Hey @rphlmr ⚡, think you can help here?
Can you share your tsconfig or check you have