Skip to content

[BUGFIX] fix deprecation for store entry methods - #5640

Merged
runspired merged 1 commit into
masterfrom
fix-deprecation
Sep 15, 2018
Merged

[BUGFIX] fix deprecation for store entry methods#5640
runspired merged 1 commit into
masterfrom
fix-deprecation

Conversation

@runspired

Copy link
Copy Markdown
Contributor

No description provided.

@runspired
runspired merged commit 05589b4 into master Sep 15, 2018
@runspired
runspired deleted the fix-deprecation branch September 15, 2018 07:08

@ELepolt ELepolt left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, wrong tab.

@Gaurav0

Gaurav0 commented Dec 18, 2018

Copy link
Copy Markdown

@runspired Is it possible to backport this to Ember Data 3.4 LTS?

@runspired

Copy link
Copy Markdown
Contributor Author

@Gaurav0 this already was.

@ELepolt

ELepolt commented Dec 20, 2018

Copy link
Copy Markdown

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

@Gaurav0

Gaurav0 commented Dec 21, 2018

Copy link
Copy Markdown

I'm still seeing the deprecation warning in 3.4.4

@runspired

Copy link
Copy Markdown
Contributor Author

@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.

@runspired

Copy link
Copy Markdown
Contributor Author

@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

@Gaurav0

Gaurav0 commented Dec 21, 2018

Copy link
Copy Markdown

@runspired I am hitting it during teardown in application tests and in rendering tests in which data is added to the store.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants