Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validator isNull is deprecated #8

Open
guillaume-miara opened this issue Jan 12, 2017 · 2 comments
Open

validator isNull is deprecated #8

guillaume-miara opened this issue Jan 12, 2017 · 2 comments

Comments

@guillaume-miara
Copy link

As per validatorjs/validator.js#505
the method is deprecated

It will throw : TypeError: _validator2.default.isNull is not a function

Must be replaced by isEmpty()

@maxefi
Copy link

maxefi commented May 5, 2017

correct me if it's not even better to replace it with lodashs isEmpty, since it's already being used.

@iqbalsafian
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants