-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Describe the bug
Nope.object().shape({a: Nope.string()}).validate(undefined);
TypeError: Cannot read property 'validate' of undefined
Nope.object().shape({a: Nope.string()}).validate();
TypeError: Cannot read property 'validate' of undefined
Expected behavior
It should return undefined like other items validation eg
Nope.array().of(Nope.string()).validate();
undefined
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels