When trying to upgrade to the latest version of ember-data-model-fragments I realised there was an issue inside the changedAttributes().
changedAttributes() is supposed to return all the dirty attributes until the record has been fully committed not just when calling the save method
In the test I show what we do, we use it to send only the dirty attributes
When trying to upgrade to the latest version of ember-data-model-fragments I realised there was an issue inside the
changedAttributes()
.changedAttributes()
is supposed to return all the dirty attributes until the record has been fully committed not just when calling thesave
methodIn the test I show what we do, we use it to send only the dirty attributes