Question on modules and injection dsl. In my modu...
# box-products
b
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
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
so if you're in
fooModule
and you have two components and one injects the other, I would still refer to it as
otherComponent@fooModule
b
Thanks for confirming.