tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/122-how-to-inject-multiple-items-of-the-same-type-using-signals-and-signalcommandRobotlegs: Discussion 2018-10-18T16:35:14Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/21191732010-06-30T03:17:19Z2010-06-30T03:17:19ZHow to inject multiple items of the same type using Signals and SignalCommand<div><p>I don't think the SignalCommandMap can deal with 2 objects of
the same type in that manner.<br>
It still uses the injector.MapValue(), which I'm sure someone would
correct me if i'm wrong, can't distinguish between String 1 and
String 2. I think this question has come up before and the
suggested way of handling it was to create a valueObject to wrap
them and pass that.</p></div>odoetag:robotlegs.tenderapp.com,2009-10-18:Comment/21191732010-06-30T03:20:50Z2010-06-30T03:20:50ZHow to inject multiple items of the same type using Signals and SignalCommand<div><p>Dependency Injection (when performed by helper robots) has a
really tough time with ambiguous data types.</p></div>Joel Hookstag:robotlegs.tenderapp.com,2009-10-18:Comment/21191732010-06-30T04:19:14Z2010-06-30T04:19:14ZHow to inject multiple items of the same type using Signals and SignalCommand<div><p>Yep I figured using a VO would be the best way to package things
up. Thank you odoe and Joel for getting back to me. The RL forum is
really a great place to get feedback :D</p></div>rob