不要怂,就是干,撸起袖子干!

Commit e63314f1 by overlookmotel

Deprecation warning in `Sequelize.cls` getter

1 parent 2eaf32a3
Showing with 1 additions and 0 deletions
...@@ -1034,6 +1034,7 @@ class Sequelize { ...@@ -1034,6 +1034,7 @@ class Sequelize {
} }
static get cls() { static get cls() {
Utils.deprecate('Sequelize.cls is deprecated and will be removed in a future version. Keep track of the CLS namespace you use in your own code.');
return this._cls; return this._cls;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!