-
-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
I'm somewhat new to yup so maybe I'm missing something here, but what is the reason behind generating defined()
for non null types rather than required()
?
I only ask because required()
will prevent empty strings (which is what I want for all non null string types)
Or if that's not a good reason to change it, is there any way of telling the generator I want required()
for all non null strings so I don't get empty strings slipping through?
Thanks
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers