Colin McDonnell

Results 468 comments of Colin McDonnell

Thanks for the excellent PR and apologies it took so long. The codebase has changed under this PR so I ported this fix here: https://github.com/colinhacks/zod/pull/4554

cc @pullfrog review with a focus on the XOR stuff

You've identified two "convenience" APIs that are implemented in terms of other schema types. I'm trying to avoid an explosion in the number of top-level schema types. Something like "stringbool"...

Here's a dedicated guide for library authors that answers some common questions: https://v4.zod.dev/library-authors 1. Best practices around peer dependencies 2. How to support Zod v3 and Zod v4 simultaneously 3....