danielspaniel / ember-data-change-tracker

extending ember data to track and rollback changes including objects and associations
MIT License
106 stars 47 forks source link

fix: access belongs-to current state #105

Open urbany opened 3 years ago

urbany commented 3 years ago

ember-data@3.28.3 no longer has a canonicalState in relationships of type belongsTo. It seems to have moved to localState. https://github.com/emberjs/data/blob/v3.28.3/packages/record-data/addon/-private/relationships/state/belongs-to.ts#L21