I’ve been running into issues while dealing with ember-data related to immutable arrays like for example “Uncaught Error: The result of a server query is immutable. ” This is what I got when i tried to apply removeObjects() method on a filtered list of array.
So, I’d like to know the difference & if possible how to convert them to the other
An immutable array just means that it can’t be altered directly (as opposed to a mutable array which can be changed).
According to Ember Data documentation, deleting records should be done like this:
Source: https://github.com/emberjs/data#deleting-records
If that’s not helpful, could you write a jsfiddle?