-
For context, when autowiring an instance that has already been pre-defined, the system avoids This is seen in the test here: poodinis/test/poodinis/containertest.d Line 148 in 87c036d However, the same behavior is not seen for members that have the Is this a bug, or is it intended behavior with a known workaround? Can you disable re-evaluation of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @vnayar, thank you for bringing this to my attention. It seems that this is indeed a bug. Once an instance has been created, especially a singleton, there should be no need to re-inject values over and over. It sounds like this is a matter of things being done in the wrong order in the injection system. I will investigate further and create a fix when time allows. |
Beta Was this translation helpful? Give feedback.
Hello @vnayar, thank you for bringing this to my attention. It seems that this is indeed a bug. Once an instance has been created, especially a singleton, there should be no need to re-inject values over and over. It sounds like this is a matter of things being done in the wrong order in the injection system. I will investigate further and create a fix when time allows.