Closed synaptiko closed 5 years ago
Like this but this generates 8 failed test. Can you take a look?
Fixed according to docs: https://github.com/emberjs/ember.js/blob/v3.6.1/packages/%40ember/-internals/runtime/lib/system/array_proxy.js#L62-L64
When overriding this class, it is important to place the call to
_super
after settingcontent
so the internal observers have a chance to fire properly
In my case I had following code:
And it was failing whenever I accessed
savedItems
.ArrayProxy
implementation changed in Ember 3.x, now it's required to callthis._super(...arguments)
in init method so theArrayProxy
is properly initialized.It fixes issues like this:
Fixes #258