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
assert('This is a subresource, a `snapshot.adapterOptions.parentResource:<DS.Record>` must be provided.', get(snapshot, 'adapterOptions.parentResource'));
let url = this._super(...arguments);
let { parentResource } = snapshot.adapterOptions;
let { modelName: parentModelName } = parentResource.constructor;
let parentAdapter = this.store.adapterFor(parentModelName);
let parentUrl = parentAdapter.buildURL(parentModelName, parentResource.id);