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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Validator (also Sequelize.Validator and sequelize.Validator) is a copy of validator.js with the v6 additions and extend(), and validators registered with it work in validate of attributes. Differential test in tests/compat/validator-extend.test.ts. (#253)
Model.scope('name') with a function scope calls it without arguments (it threw). Differential test in tests/compat/scope-function-by-name.test.ts. (#258)
A nested create with a belongsTo parent and a NOT NULL foreign key succeeds (it failed with "notNull Violation" before the parent was saved). Differential test in tests/compat/belongs-to-include-not-null.test.ts. (#274)