Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

session-stores/cookie: Convert private volatile properties to methods #1886

Merged
merged 1 commit into from
Jul 11, 2019

Conversation

Turbo87
Copy link
Collaborator

@Turbo87 Turbo87 commented Jul 5, 2019

Using native getters would work too, but only in some newer versions of Ember. Older versions will have this assigned to the wrong thing and are not able to access this.get due to that. Using a regular method should work fine though and since these properties are private we can change the signature without it having to be a breaking change.

Resolves the other part of #1799

Using native getters would work too, but only in some newer versions of Ember. Older versions will have `this` assigned to the wrong thing and are not able to access `this.get` due to that. Using a regular method should work fine though and since these properties are private we can change the signature without it having to be a breaking change.
@Turbo87 Turbo87 requested a review from a team July 5, 2019 11:30
Copy link
Contributor

@josemarluedke josemarluedke left a comment

Choose a reason for hiding this comment

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

Changes look good! Looking forward to having it merged and released.

@Turbo87 Turbo87 merged commit df287f3 into mainmatter:master Jul 11, 2019
@Turbo87 Turbo87 deleted the volatile2 branch July 11, 2019 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants