-
-
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
[CLEANUP] Remove _actions functionality #15914
Conversation
Along with related deprecations, asserts, and tests.
Tests have been ported to the legacy addon |
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.
Looking good!
One inline tweak (we can remove the whole willMergeMixin
function in the action handler mixin, and can you also add a comment above
ember.js/packages/ember-metal/lib/mixin.js
Line 241 in d074b82
if (base.willMergeMixin) { base.willMergeMixin(props); } |
to make it clear that this can be removed after 3.4?
delete props._actions; | ||
} | ||
} | ||
willMergeMixin() {} |
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.
I think we can remove the implementation completely?
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.
Will this have issues with https://github.com/emberjs/data/blob/master/addon/-private/system/model/model.js#L1889
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.
No, removing this empty function shouldn’t affect that (we aren’t removing the functionality yet)...
@rwjblue should be good now |
Awesome, thank you!! |
Along with related deprecations, asserts, and tests.
Related: ember-2-legacy PR
Apart of: #15876