We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ember 3.16.3.
import EmberObject from '@ember/object'; import Mixin from '@ember/object/mixin'; class Model extends EmberObject { get bar() { console.log('bar'); } } Object.defineProperty(Model.prototype, 'foo', { get() { console.log('foo'); }, }); const mixin = Mixin.create({ get foo() { }, get bar() { }, }); const NewModel = Model.extend(mixin); NewModel.create();
Both foo and bar are printed in the console when this code executes. They both shouldn't.
foo
bar
cc @pzuraq
The text was updated successfully, but these errors were encountered:
mergeMixins
I think issue from
ember.js/packages/@ember/-internals/metal/lib/mixin.ts
Line 190 in f73d844
Sorry, something went wrong.
isValid
I believe this issue has been resolved (I believe as of Ember 4.12). Thanks!
No branches or pull requests
Ember 3.16.3.
Both
foo
andbar
are printed in the console when this code executes. They both shouldn't.cc @pzuraq
The text was updated successfully, but these errors were encountered: