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
{{ message }}
Repository navigation
.changed() detects value as changed when set from null to null. #3812
Activity
Thomathan commentedon May 27, 2015
instance.js has a primitives array and only compares values that match it. Since null is a primitive it should be included as well.
However, typeof null returns object which seems to be bug in ecmascript.
Will probably need to explicitly check for null.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null
http://www.ecma-international.org/ecma-262/5.1/#sec-4.3.2
http://www.ecma-international.org/ecma-262/5.1/#sec-4.3.11
JrSchild commentedon May 27, 2015
Thank you for the fast response. I can confirm that it fixes the issue.
Merge pull request #3817 from BridgeAR/master
Fix two minor issues. Closes sequelize#3812 and sequelize#3770
Merge pull request sequelize#3817 from BridgeAR/master