Answer the question
In order to leave comments, you need to log in
How to correctly synchronize a hierarchical structure that has a parallel hierarchy?
Good afternoon. There was such a difficulty, perhaps someone knows a competent solution.
There is a hierarchical data structure that is periodically updated based on an upload from an external source. Unloading can be complete or for one specific node.
Each node has a boolean 'hidden' attribute that comes in the upload. Also, the node has some content, which may be empty. Also, each node has a boolean 'empty' attribute that needs to be recalculated at the time of synchronization.
The empty attribute must be set to true if the node matches all conditions:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question