Skip to content

Commit 6d360ad

Browse files
stefanpennerbmac
authored andcommitted
[BUGFIX release] restore internalModels GUID_KEY’s
(cherry picked from commit 4dcb83d)
1 parent 4c92e45 commit 6d360ad

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

addon/-private/system/model/internal-model.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ export default class InternalModel {
120120
constructor(modelName, id, store, data) {
121121
heimdall.increment(new_InternalModel);
122122
this.id = id;
123-
this._internalId = InternalModelReferenceId++;
123+
124+
// this ensure ordered set can quickly identify this as unique
125+
this[Ember.GUID_KEY] = InternalModelReferenceId++ + 'internal-model';
126+
124127
this.store = store;
125128
this.modelName = modelName;
126129
this._loadingPromise = null;

0 commit comments

Comments
 (0)