Question on modules and injection dsl. In my module I have a component that has a property that injects another component within the same module like so:
property name="mycomponent" inject="myothercomponent@mymodule";
Is the '@mymodule' required? Or potentially a generic term for 'mymodule' that wirebox knows refers to the module I'm currently in?
s
sknowlton
05/27/2022, 10:00 PM
I believe Wirebox will try and figure it out, but we always err on the side of being explicit, because it's not like the module name is going to change.
💯 1
sknowlton
05/27/2022, 10:01 PM
so if you're in
fooModule
and you have two components and one injects the other, I would still refer to it as