© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•5mo ago•
3 replies
W8

Nested relation types are inferred as any instead of proper relation types

Hello, I’m running into a blocking issue.
I get the correct types for the first-level fields, but the nested relation fields are not typed.

I’ve already exported both the tables and the relations, but the nested depth still falls back to any.
image.png
image.png
image.png
image.png
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Explicit inferred types
Drizzle TeamDTDrizzle Team / help
3y ago
nested relation
Drizzle TeamDTDrizzle Team / help
2y ago
Numeric // Decimal Postgres types are inferred as strings and expect string as an input as well
Drizzle TeamDTDrizzle Team / help
3y ago
Nested relation filtering
Drizzle TeamDTDrizzle Team / help
14mo ago