Z
Zod3mo 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 User3mo ago
Message Not Public
Sign In & Join Server To View
Gludek
Gludek3mo ago
yeah, but regex validation of .email makes it so it needs to be defined, and null/undefined input is treated as invalid
Gludek
Gludek3mo ago
No description
No description
Solution
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
Gludek
Gludek3mo ago
okay that works
Want results from more Discord servers?
Add your server
More Posts