Skip to content

Commit 4f9b502

Browse files
committed
fix(model): optClone should not clone instances
1 parent e4cc50c commit 4f9b502

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎lib/model.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2257,6 +2257,7 @@ module.exports = (function() {
22572257
(
22582258
elem._isSequelizeMethod ||
22592259
elem instanceof Model ||
2260+
elem instanceof Instance ||
22602261
elem instanceof Transaction ||
22612262
elem instanceof Association
22622263
)

0 commit comments

Comments
 (0)