I really like the idea of the TCA. So last week I give it a try. But there is one situtation that I can't get my head around.
My understanding is TCA builds parent-child relationship between domains. So it is really easy to create hierarchy like this: Search -> Product Detail -> Releated Products. SearchState embeds ProductDetailState and ProductDetailState embeds ReleatedProductsState.
Here is the part that I don't understand. Say you need to display Search from Releated Products. And domain hierarchy becomes recursive like this: Search -> Product Detail -> Releated Products -> Search -> Product Detail -> Releated Products ..... In swift structs can not become recursive.
So how can I model this in TCA?