Varun Bhansaly
-
2011-09-23
Scenario A to be injected into C, B to be injected into C (in that order)
Whats happens now is -
When A is injected into C, A becomes A include C.
When B is injected into C, B becomes B include C, here changes injected by A are lost.
Solution -
When A is injected into C, A becomes A include C.
When B is injected into C, B should become B include (C, A), this way extensions introduced by A are included as well.
Attached patch attempts to address the above scenario and provide solution for the same.
Suggestions welcome.