[BUGFIX] fix deprecation for store entry methods - #5640
Conversation
|
@runspired Is it possible to backport this to Ember Data 3.4 LTS? |
|
@Gaurav0 this already was. |
|
Sorry, I came across this thread trying to track this down. I might not be following correctly, but isn't this the line that is currently in 3.4 LTS: https://github.com/emberjs/data/blob/lts-3-4/addon/-private/system/store.js#L3428 |
|
I'm still seeing the deprecation warning in 3.4.4 |
|
@Gaurav0 you should see this deprecation in 3.4.4 if you are hitting it for correct reasons, this fix was to ensure that folks didn't hit it for incorrect reasons. |
|
@ELepolt there are two helpers, one that handles situations when we should assert during the destroy cycle, and one for when we should assert only once the destroy cycle has completed. The line this PR affected is here: https://github.com/emberjs/data/blob/lts-3-4/addon/-private/system/store.js#L3445 |
|
@runspired I am hitting it during teardown in application tests and in rendering tests in which data is added to the store. |
No description provided.