Corey Tollerud
Corey Tollerud
@Darkhogg In case it's helpful as a temporary workaround, using the `transform` to do the validation still seems to work fine https://zod.dev/?id=validating-during-transform
@kawaemon That's some good context, and it makes sense that it's designed so that multiple refines be stacked so that you can report on more than one validation failure at...
@kawaemon Note that this bug can also occur when the initial failure occurs in a `refine`, not just `transform`. (See my second example in the original post.) I agree with...
@JacobWeisenburger @colinhacks I'm writing to hopefully prevent this from closing, since this is something IMHO that ought to be resolved, since it's kind of a nasty bug. If noone gets...
In case it helps, here's a more general repeatable pattern: It looks any failure that's caused by refine will not prevent any future refines from being called. ```Typescript const result...
Please don’t close! This is definitely a bug that should be addressed. I can take a stab at it if no one else gets to it, but note there’s also...