You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make it easy for adding more custom rules to validator, rules methods should implement an interface.
we should have the same interface and the same function. Without that there will be no way to add rule to validator. This two methods should be the same method
To make it easy for adding more custom rules to validator, rules methods should implement an interface.
we should have the same interface and the same function. Without that there will be no way to add rule to validator. This two methods should be the same method
Currently
lengthRule implements -
validateLength
MustExistRule implements -
validateMustExist
The text was updated successfully, but these errors were encountered: