When dealing with an array in a model, is it essential to use DS.hasMany
pointing to a DS.Model
, even if the array elements are not actual models with IDs or endpoints? Is there a more efficient alternative?
Despite using DS.hasMany
with { embedded: true }
, I am encountering a 404 error on my extended DS.RESTAdapter
without ever calling find
. The following error message, which seems to be linked to this particular model, appears for the first time:
Uncaught Error: assertion failed: Emptying a view in the inBuffer state is not allowed and should not happen under normal circumstances. Most likely there is a bug in your application. This may be due to excessive property change notifications. ember-latest.js:43
What does this error mean and what might be causing it?
Here's the stack trace:
[Stack Trace Here]
Any assistance would be appreciated.
Update: Referencing this example from the Ember Data documentation: This fiddle, it works with modeled objects as shown in the docs. However, how can similar objects be represented if they are not real models (i.e., do not have IDs)?