Marco Santos

Results 14 issues of Marco Santos

This PR fixes `ZodCatch`. It looks like `ZodCatch` was a product of a quick copy-paste from `ZodDefault`, which introduced some bugs to it. 1. The `output` of a `ZodCatch` was...

This one might be controversial, but I wanted to open it anyway to see what people think about it. This PR adds the `ZodDecorator` utility, which takes a `ZodFunction` as...

This PR adds the `unwrapDeep` method to both `ZodOptional`s and `ZodNullable`s, which recursively unwraps the schema in case of multiple calls to `.optional()` or `.nullable()`. I understand that this will...

Closes https://github.com/trpc/trpc/issues/3306 ## 🎯 Changes What changes are made in this PR? Is it a feature or a bug fix? 1. Added esques for io-ts for correct type inference 2....

@trpc/server
🕸 www