Colin McDonnell

Results 258 comments of Colin McDonnell

Zod is designed to surface as many errors as possible, so not really. Some sort of `abortEarly` mode is certainly possible but I'm not convinced that it's worth the increase...

Sorry, I'm not really seeing the appeal of this. I get that it's somewhat duplicative, but I recommend using regular `.parse` here? It's weird to provide a method that skips...

Can you give an example of what you're trying to do? I'm not following I'm afraid.

For the sake of future-proofing Zod, I think we should assume that `strict` mode is enabled, and none of its individual components have been disabled. I'm not sure if Zod...

I'm still hesistant to add additional metadata beyond the `.describe` method I implemented after our earlier discussion: https://github.com/colinhacks/zod/issues/677 Though it does seem like that would be adequate? Even with a...

> One potential problem is that transforms are not bidirectional so that would have to be added first Indeed, this is why Zod doesn't do this and why it probably...

This is very hard to do in the static domain. Currently `.deepPartial` is very limited and error-prone for similar reasons. I'll leave this open but I recommend using `z.strictObject` if...

Sorry, I closed this because I switched away from TypeORM (...and SQL 🙄). @tpiecora I'd recommend following through on [this suggestion](https://github.com/typeorm/typeorm/issues/3857#issuecomment-480064706) and posting the results here. Then tag some of...

Down to merge this as soon as you fix all the merge conflicts on your end!

With API calls, the easiest and safest thing to do is generate an ID token (either grab it from the cookie client-side or generate a new one with `firebaseClient.currentUser?.getIdToken()` and...