Stephen
@rhodesy
Freelance JavaScript engineer working with @ReactJS & @nodejs. currently looking for work 👨🏻💻
ID: 16815384
16-10-2008 22:23:59
2,2K Tweet
194 Followers
619 Following
Hey Matt Pocock, been following your Zod examples and wondered how I can do things like if x = y then a is optional. I’ve looked at unions for this but wondered if there’s a way with refinement that works even when objects are incomplete..?