Theo's Typesafe CultTTC
Theo's Typesafe Cult3y 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
Screenshot_2023-08-15_at_9.28.34_PM.png
Was this page helpful?