How can I store co-dependent data in a slice(or EntityAdapter)?

I have a cacheSlice. In the cache I store several arrays (products, components, …). And I need to store sequentially the data. That is, I have a list of products, then a list of components that depend on the list of products, then lists of properties that depend on the selected component Roughly speaking, I need a normalised form of n – dimensional dependency. So that I can access EntityAdapter and get the required element, but first of all I need to get the list by key. For example, I need a list of components by ProductId=2 and already on this list I would like to have all the features of EntityAdapter. Now the question is how to store it in store and how to manage it, I don’t have enough intelligence to do it. Either to refuse EntityAdapter or some crazy nesting to do, I do not know And the task is actually typical extremely. Store a cache for a list, and output the required list by number.

I haven’t done anything yet.

Leave a Comment