Closed enspandi closed 5 years ago
@lukemelia Travis seems to be failing with Yarn was installed, but doesn't seem to be working
. Is there something wrong in the general travis setup in this addon ?
Maybe @blimmer can help me out here? BufferedProxy does not seem to be working correctly since 3.6...
@enspandi I suspect that the node version being run needs to be updated.
Closing in favor of #46
The check for
m.proto === this
insetUnknownProperty
was introduced to allow defining additional values at create time, especially in the case of using the ember-cp-validations addon.This code, taken from the the Ember.ProxyMixin, has changed due to a refactor since 3.6, see: https://github.com/emberjs/ember.js/commit/a80eba3d9876542e35837897042fe02b9f6f3f09#diff-9bf8bbd79c58f7c1479813cd250667ddL93
My issue was in combination with Ember 3.8 and ember-cp-validations having buffer changes just after creation. This PR simply adds another check for the new method
meta.isInitializing()
to skip buffer changes during initialization to be compatible with Ember 3.6+.