From 6bcf40a13893ee12250acf3c74d7d128dcfa07b8 Mon Sep 17 00:00:00 2001 From: Chris Thoburn Date: Wed, 21 Apr 2021 09:10:59 -0700 Subject: [PATCH] continue to use init --- packages/model/addon/-private/model.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/model/addon/-private/model.js b/packages/model/addon/-private/model.js index 78bbf45bc38..1fd137a3594 100644 --- a/packages/model/addon/-private/model.js +++ b/packages/model/addon/-private/model.js @@ -117,8 +117,8 @@ function computeOnce(target, key, desc) { @uses EmberData.DeprecatedEvented */ class Model extends EmberObject { - constructor(args) { - super(args); + init(...args) { + super.init(...args); if (RECORD_DATA_ERRORS) { this._invalidRequests = [];