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
In the ember inspector if $E is set to the expelAlert model object, , if I do $E.get('vendorAlerts') , ember-data will attempt to do /api/vendor-alerts/a91db472-99f7-4a8d-8878-7365e689a346 to retrieve the vendorAlert model (ignoring the related links entry)
If, the JSONAPI response (for just the relationships area) is:
then $E.get('vendorAlerts') will hit /api/expel-alerts/64839987-80d5-4de7-9a74-62d472ba0562/vendor-alerts (respecting the related links entry)
I would think(?) it would always prioritize the links entry. (especially if there were say, 5000 vendor-alerts.. you wouldn't want 5000 individual ajax requests, nor would the coalesce true ?filter[etc]=1,2,...,5000 be right either)
The text was updated successfully, but these errors were encountered:
If I have this json-api response:
In the ember inspector if $E is set to the expelAlert model object, , if I do $E.get('vendorAlerts') , ember-data will attempt to do /api/vendor-alerts/a91db472-99f7-4a8d-8878-7365e689a346 to retrieve the vendorAlert model (ignoring the related links entry)
If, the JSONAPI response (for just the relationships area) is:
then $E.get('vendorAlerts') will hit /api/expel-alerts/64839987-80d5-4de7-9a74-62d472ba0562/vendor-alerts (respecting the related links entry)
I would think(?) it would always prioritize the links entry. (especially if there were say, 5000 vendor-alerts.. you wouldn't want 5000 individual ajax requests, nor would the coalesce true ?filter[etc]=1,2,...,5000 be right either)
The text was updated successfully, but these errors were encountered: