Colin McDonnell

Results 283 comments of Colin McDonnell

I feel like there are edge cases where dropping `flatten` breaks the inferred type signature...but I can't find them. I'll do a little more testing then merge. Thanks!

Merged a variant in https://github.com/colinhacks/zod/pull/2845 Thanks!

Thanks! This is really great. Big oversight on `mergeObjectSync`...thanks for catching.

Thanks! I like this a lot, especially `identifier`. I'm merging this into the `v4` branch. Some version of this will land in Zod 4, but — as a heads up...

I appreciate the PR, though tbh I'd prefer people not use this. It opens up the door to a bunch of top-level APIs that are better kept as methods (e.g....

I'm closing this since #2157 is the current final word on this. Nearly all the issues with dots and apostrophes have been resolved in Zod 3.22 or 3.23. @fuzzypawzz Those...

This is available in canary and will land in Zod 3.23.

I've been sitting on this PR for a long time because it's very well-implemented and I think the core proposal is really interesting. Ultimately I think it's a bit too...

> Is this somewhat related to what you have in mind for the new API? @pato1 Almost exactly, aside from `base`. I like the idea of having some "pre-validation" so...