Joachim Viide

Results 48 comments of Joachim Viide

Zod's `.passthrough` & friends differ a bit, as they apply to the specific level in the object hierarchy. Valita's modes apply to the whole hierarchy. Both behaviors make sense in...

Version [v0.3.6](https://github.com/badrap/valita/releases/tag/v0.3.6) adds a second parameter that's passed to the chained functions. The parameter is a normalized & frozen version (note: not the same instance) of the options object originally...

I also documented the `v.object({ ... }).rest(v.unknown())` thing and its inverse: https://github.com/badrap/valita?tab=readme-ov-file#rest-properties--records 🙂

How about something like this? Sorry, wrote this in JavaScript instead of TS so I could test it quickly in the sandbox: ```ts function useComputed(compute) { // Keep track of...

One option would be to serve the regenerated certs from new ports, and keep the old tests/ports functional but undocumented for a reasonable period of time (maybe until some valid...

Glad to hear that Valita has been of use. It's very interesting to hear about your use-case. The original purpose of `toTerminals` is to break unions apart for further analysis....