© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Nested relation types are inferred as any instead of proper relation types - Drizzle Team
DT
Drizzle Team
•
7mo 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
.
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,959
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Explicit inferred types
DT
Drizzle Team / help
3y ago
nested relation
DT
Drizzle Team / help
3y ago
Numeric // Decimal Postgres types are inferred as strings and expect string as an input as well
DT
Drizzle Team / help
3y ago
Nested relation filtering
DT
Drizzle Team / help
16mo ago