kvnxiao
09/26/2019, 8:49 PMlist
of sub-nodes, each node registered within a module
each node is "unique" and a singleton
e.g.
class RootNode : Node { val children: List<Node> = getAll( ... some qualifier retrieving all subnodes of this node ) }
class SubNode1 : Node { ... same as above }
class SubNode2 : Node { ... same as above }
this example would inject SubNode1 and SubNode2 as children to RootNode
I would like to perform the following associations above to set up my logic through DI
not exactly sure if this is possible or not.