In a nearly generated app, using ember 3.9 beta the app gets a deprecation message. This is coming from the inspector. If I disable the inspector, my app does not get the deprecation.
deprecate.js:120 DEPRECATION: Setting dependency keys using the `.property()` modifier has been deprecated. Pass the dependency keys directly to computed as arguments instead. If you are using `.property()` on a computed property macro, consider refactoring your macro to receive additional dependent keys in its initial declaration. [deprecation id: computed-property.property] See https://emberjs.com/deprecations/v3.x#toc_computed-property-property for more details.
at logDeprecationStackTrace (http://localhost:4200/assets/vendor.js:35082:23)
at HANDLERS.(anonymous function) (http://localhost:4200/assets/vendor.js:35176:11)
at raiseOnDeprecation (http://localhost:4200/assets/vendor.js:35109:11)
at HANDLERS.(anonymous function) (http://localhost:4200/assets/vendor.js:35176:11)
at invoke (http://localhost:4200/assets/vendor.js:35188:11)
at deprecate (http://localhost:4200/assets/vendor.js:35147:30)
at ComputedProperty.property (http://localhost:4200/assets/vendor.js:14960:46)
at <anonymous>:3617:8
at requireModule (<anonymous>:39:28)
In a quick search, I found a few places using .property().
|
filtered: filter('model', function(item) { |
|
return searchMatch(get(item, 'message'), this.get('search')); |
|
}).property('model.@each.message', 'search'), |
|
filtered: filter('model', function(item) { |
|
return searchMatch(get(item, 'name'), this.get('search')); |
|
}).property('model.@each.name', 'search'), |
|
instrumentWithStack: computed({ |
|
get() { |
|
return !!this.get('session').getItem('promise:stack'); |
|
}, |
|
set(key, value) { |
|
this.get('session').setItem('promise:stack', value); |
|
return value; |
|
} |
|
}).property(), |
In a nearly generated app, using ember 3.9 beta the app gets a deprecation message. This is coming from the inspector. If I disable the inspector, my app does not get the deprecation.
In a quick search, I found a few places using
.property().ember-inspector/app/controllers/deprecations.js
Lines 18 to 20 in 824e953
ember-inspector/app/controllers/container-type.js
Lines 21 to 23 in 9ed9e54
ember-inspector/ember_debug/promise-debug.js
Lines 82 to 90 in 824e953