« All deprecation guides

Deprecation Guide for Ember.oneWay

Ember.oneWay is deprecated in favor for Ember.computed.oneWay. Please change all instances of Ember.oneWay from:

let User = Ember.Object.extend({
  firstName: null,
  nickName: Ember.oneWay('firstName')
});

to

let User = Ember.Object.extend({
  firstName: null,
  nickName: Ember.computed.oneWay('firstName')
});