-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[FEAT] Implements the Computed Property Modifier deprecation RFCs #17470
[FEAT] Implements the Computed Property Modifier deprecation RFCs #17470
Conversation
458a049
to
229c0bf
Compare
Deprecation doc PR here |
- Deprecates `.property()` - Deprecates `.volatile()` - Deprecates `clobberSet` internally - Keeps injected properties and the `store` property on routes overridable for testing purposes - Rewrites lots of usages in tests. For some reason `volatile` was frequently used in tests when it was not needed. - Adds `additionalDependentKeys` array to `map`, `filter` and `sort` array functions. `sort` was overlooked in RFC, but suffers from the same problem so it shouldn't need an additional RFC. - Adds tests for `additionalDependentKeys`
229c0bf
to
f3693d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome job, thank you!
CI failure is due to linting:
|
1e7d959
to
95973cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deprecation guide PR landed in ember-learn/deprecation-app#254, and I confirmed URL's for deprecations...
.property()
.volatile()
clobberSet
internallystore
property on routesoverridable for testing purposes
volatile
wasfrequently used in tests when it was not needed.
additionalDependentKeys
array tomap
,filter
andsort
array functions.
sort
was overlooked in RFC, but suffers from thesame problem so it shouldn't need an additional RFC.
additionalDependentKeys