Cannot set referenced local data
Steps to reproduce
Use the JSBin here and look the result in the console: https://jsbin.com/nemofigala/edit?html,js,console
Expected behavior
When we set a local resource which references another one, both should be available in the cache.
What's happening?
- we set a local resource 'A' in the cache
- we set a local resource 'B' in the cache which references 'A'
- the store refreshes all the resources referenced by 'B'
- 'A' is removed from the cache and re-fetch. As it was a local resource, nothing will be fetched, and only
{"@id": "A"}
will be returned
- 'A' is removed from the cache and re-fetch. As it was a local resource, nothing will be fetched, and only
- the store refreshes all the resources referenced by 'B'
Your Environment
- Library version: 0.17
- Targeted application: hubl