adopted-ember-addons / ember-changeset

Ember.js flavored changesets, inspired by Ecto
http://bit.ly/ember-changeset-demo
MIT License
431 stars 141 forks source link

Intended "Getter" Behavior When Used with Ember-Data Model ? #665

Open kdagnan opened 1 year ago

kdagnan commented 1 year ago

Hi,

I have 2 applications, old and new.

Old:

New:

When I create a changeset from the respective ember-data models, is the below behavior expected?

Old: changeset.get('computedProperty') is always valid based on changeset.get('dependency') value New: changeset.getterProperty is not updated when changeset.dependency is updated, only when changeset.save() persists the changes to the ember-data model

Is this because I'm not using .get() and .set() in new?