You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following is failing when the injected item is an array (i.e. during a call to findAll).
// about line 5443
// the following is failing as injected can be an array.
if (definition.relations) {
_injectRelations.call(DS, definition, injected);
}
I got it working by moving it to the _inject function where it handles singular items.
// about line 5337
resource.index.put(id, item);
// inserted here.
if (definition.relations) {
_injectRelations.call(DS, definition, item);
}
_react.call(item, {}, {}, {});
The text was updated successfully, but these errors were encountered:
The following is failing when the injected item is an array (i.e. during a call to findAll).
I got it working by moving it to the _inject function where it handles singular items.
The text was updated successfully, but these errors were encountered: