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
If I load a relation record indirectly via with: [] param, it is not stored in cache and next direct find request to that record fired request to adapter.
Then fetch same relation record using: store.find('saleOrder', id)
The call in 2 fires http request even when we have fetched that record already as part of 1.
Not sure. I don't see this issue when I directly query an endpoint (in which case data is retrieved correctly in subsequent call). For me it happens only with indirect relations loading via with..
Description
If I load a relation record indirectly via
with: []
param, it is not stored in cache and next direct find request to that record fired request to adapter.Steps to reproduce:
store.find('invoice', id, { with: ['saleOrder'] })
store.find('saleOrder', id)
The call in 2 fires http request even when we have fetched that record already as part of 1.
Environment
"js-data": "^3.0.5",
"js-data-http": "^3.0.1",
The text was updated successfully, but these errors were encountered: