.default('') on Zod doing nothing
I have a validator for the profilePictureUrl that sets the default to an empty string.. or so I thought. I'm getting errors like:

3 Replies
This is the validator:

and if I remove the .nullish():

Yikes.. turns out the zod was setting the default, but the can't be an empty string, duh.
Thank you, rubberduckies