Kiko Cosmetics
Kiko Cosmetics
@ricardocastanho thanks for the workaround. `toFormat` saved my bacon!! I definitely don't want to add the humanize library someone is suggesting. Luxon (TSLuxon in my case) should suffice!!
If someone interested, in **ts-luxon** the humanize has been recently fixed... v4.0.0 is about to be released (Luxon 3)
I've stumbled upon this as well... I create a super refiner programmatically, so I don't really have access to the base schema: ``` export function passwordsMatchRefiner( schema: Augmentation ): z.ZodEffects...
> @KikoCosmetics innerType() seems to remove the refine logic, at least for me it is no longer running. So no, this is not a solution. In my scenario it is...
+1 guys. In my case, I have a refine that is an asyncronous call (to verify email addresses). It fires so many times even if an invalid email is typed....