myzod
myzod copied to clipboard
After upgrading typescript, I get the following compilation error ``` node_modules/myzod/libs/types.d.ts:256:40 - error TS2577: Return type annotation circularly references itself. 256 and(schema: K): IntersectionResult; ~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/myzod/libs/types.d.ts:306:40 - error TS2577: Return...
Given: ``` const myschema = myzod.object({ foo: myzod.string().optional() }); myschema.parse({}); ``` The result is an empty object (`{ }`) But if I add `allowUnknownKeys()`: ``` const withUnknownKeys = myzod.object({ foo:...
Any chance we can get a FunctionType for when your object is an actual js object rather than a json, or is this impossible due to how myzod accepts functions...
The result of myzod causes Jest's `.toEqual`'s skipping of undefined keys to not work. I am assuming this is due to some prototype hacking? i.e. ``` expect({a: undefined}).toEqual({}) // pass...
Hi, in the title is "myzod" => why ? It's write myZode is faster with Node v13 ... : - why not using node v4 ? if you make benchmarks,...
Hi! Could you summarize some key differences (how to migrate, what to watch out, what is missing in myzod, which is possible in zod) if someone tries to switch from...