Skip to content

fix: cherry-pick memory leak perf commit (#9973) - #10031

Merged
sushantdhiman merged 2 commits into
sequelize:v4from
uneess:v4
Oct 16, 2018
Merged

sushantdhiman merged 2 commits into
sequelize:v4from
uneess:v4

Conversation

@uneess

@uneess uneess commented Oct 15, 2018

Copy link
Copy Markdown

Issue: #9973

cherry-picked commit: f7585ac

@codecov

codecov Bot commented Oct 15, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #10031 into v4 will decrease coverage by <.01%.
The diff coverage is 100%.

@uneess

uneess commented Oct 15, 2018

Copy link
Copy Markdown
Author

validator.notNull is not covered by the unit test, I also see that it is being deprecated, so to keep things consistent I will rollback to the old version in 4.x.x where it throws an exception:

validator.notNull = function() { throw new Error('Warning "notNull" validation has been deprecated in favor of Schema based "allowNull"'); };

and make sure to add it in the unit test so it will be covered.

What do you think @sushantdhiman ?

Comment thread lib/utils/validator-extras.js Resolved
@sushantdhiman
sushantdhiman merged commit 8fe475b into sequelize:v4 Oct 16, 2018
@sushantdhiman

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 4.39.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants