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

Backport "Don't run getters while applying mixins" to 4.8 LTS #20454

Merged
merged 1 commit into from
May 1, 2023

Conversation

wycats
Copy link
Member

@wycats wycats commented May 1, 2023

Backports #20388.

This change ensures that getters are never evaluated while applying mixins.

It relies on the fact that all getters (including undecorated ones) get converted into classic decorators when the mixin is originally created.

@wycats wycats changed the title [BUGFIX LTS] Don't run getters while applying mixins Backport "Don't run getters while applying mixins" to 4.8 LTS May 1, 2023
@wycats wycats force-pushed the bugfix/backport-20388-to-4-8 branch 2 times, most recently from 98abab7 to 718466c Compare May 1, 2023 21:22
This change ensures that getters are never evaluated while applying
mixins.

It relies on the fact that all getters (including undecorated ones) get
converted into classic decorators when the mixin is originally created.
@wycats wycats force-pushed the bugfix/backport-20388-to-4-8 branch from 14d2b46 to d3a7ecc Compare May 1, 2023 22:05
@wycats wycats merged commit dda10ef into emberjs:lts-4-8 May 1, 2023
13 checks passed
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.

None yet

1 participant