-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
When using createValidatorAllowingFailureMessageOverride, incorrect arguments are passed to the validateFn. A validator expects arguments like fn(key, name, object, callback), whereas createValidator provides fn(name, object, callback).
This means it is not possible to use createValidatorAllowingFailureMessageOverride with any validity modules, only with booleanToCallback.
Is there a reason for this or shall I submit a PR?
Metadata
Metadata
Assignees
Labels
No labels