Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to access another item in a zod object - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
4 replies
gave_one
How to access another item in a zod object
For example
If condition
.type is X I want the ID to be required
Is this possible to do this in the side zod
object with a refine or something else
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Converting api data to a zod object
TTC
Theo's Typesafe Cult / questions
3y ago
how to delete a child object in prisma
TTC
Theo's Typesafe Cult / questions
4y ago