Z
Zod4mo ago
Gludek

Gludek - Just to confirm z.string().email() can...

Just to confirm z.string().email() can't be combined with .nullish() right?
Solution:
Message Not Public
Sign In & Join Server To View
Jump to solution
5 Replies
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
Gludek
Gludek4mo ago
yeah, but regex validation of .email makes it so it needs to be defined, and null/undefined input is treated as invalid
Gludek
Gludek4mo ago
No description
No description
Solution
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View
Gludek
Gludek4mo ago
okay that works
Want results from more Discord servers?
Add your server