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

Add @computed.readOnly and @computed.volatile #272

Closed
pzuraq opened this issue Aug 28, 2018 · 1 comment
Closed

Add @computed.readOnly and @computed.volatile #272

pzuraq opened this issue Aug 28, 2018 · 1 comment

Comments

@pzuraq
Copy link
Contributor

pzuraq commented Aug 28, 2018

Currently, computed properties made with decorators are readOnly by default, and there is no way to have them be marked as volatile because undecorated native getters/setters are preferred. In order to create a general purpose codemod, we need to make sure that we have the exact same semantics as current computeds do. To do this, we need to make computeds clobberable by default, and add methods for invoking readOnly/volatile behavior.

@pzuraq
Copy link
Contributor Author

pzuraq commented Sep 19, 2018

Added in v2.5.0

@pzuraq pzuraq closed this as completed Sep 19, 2018
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

No branches or pull requests

1 participant