Closed qvu-square-zz closed 2 years ago
Actually was pointed to this section after opening the issue. https://github.com/adopted-ember-addons/ember-data-model-fragments#conflict-resolution
I'll fix this in our adapter to make sure the response match the internal records. Sorry for the noise!
I found a (potential) issue when updating fragment arrays from server response. I've narrowed it down to this function https://github.com/adopted-ember-addons/ember-data-model-fragments/blob/master/addon/array/fragment.js#L20
where
content
(from internal memory) andobjs
(from server response) are not sorted in the same order. I'm not sure if this is a bug or if the intention is that internal fragment array and the server response's array should be kept in the same order at all times.This is my first time opening an issue, so apologies if it's not up to standards. Please let me know if I can provide more information to help triage.