Skip to content

cacheExchange doesn't work properly #1248

Answered by kitten
albertcito asked this question in Q&A
Discussion options

You must be logged in to vote

Hiya 👋 sorry, I currently don't quite have the time to go into a full detailed investigation and explanation, so let's start slow.

The first thing that stands out to me with the configuration you've posted is that the keys configuration you've created returns static strings. This will start sharing entities, hence potentially overwriting results from two separate entities. Now, this can be valid in some cases but those should be rare.

Specifically, there are unkeyable entities (ones that don't have any id or ID-like fields) and ones that do have a key. Either of these are unique by a key. Unkeyable entities will however be unique to their location on the parent entity. Shared entities wit…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@JoviDeCroock
Comment options

@albertcito
Comment options

@JoviDeCroock
Comment options

Answer selected by kitten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants