Colin McDonnell
Colin McDonnell
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....
This is achievable with `.catchall()` which accepts an arbitrary schema that will process unrecognized properties.
> I'm open to this change, but given the motivation is performance, I think I'd want it in a separate PR addressing & evaluating async/sync performance holistically. Do you mind...
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....
Fixed in latest betas. Note that you'll need to rewrite some imports after upgrading per https://github.com/colinhacks/zod/pull/4364
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....
As others have said: ```ts // babel.config.js module.exports = { presets: [ 'module:metro-react-native-babel-preset' ], plugins: [ // …any existing plugins… '@babel/plugin-proposal-export-namespace-from', ], }; ``` Closing, not a Zod bug.
Did this start with 3.25.50? I need to decide whether to revert #4599 if it's causing a lot of issues for people.
@gak10100 Great to hear
This one is even harder than the others 🙃 Here's a simpler reproduction: ```ts type Foo = z.ZodPipe; ``` I know which lines of code are causing this, but they're...