SignalCommandMap not getting injected

zmaldonado's Avatar

zmaldonado

10 Jul, 2014 06:37 PM

Hi there,

So I've trying to get the SignalCommandMap working with my Starling/Feathers app, and I see to be running to this issue:

Error: Injector is missing a mapping to handle injection into property "commandMap" of object "[object AppConfig]" with type "configs::AppConfig". Target dependency: "robotlegs.bender.extensions.signalCommandMap.api::ISignalCommandMap|"

As far as I can tell, I have done anything differently from projects that have worked with the IEventCommandMap. i saw some of the previous threads related to this issue, but it seems like they only answered questions about the Injector (to which I followed their answer, hoping they might solve something, but alas). I did also look at the test cases for the SignalCommandMap but once again, to no avail. If anyone knows more about this issue, I would greatly appreciate any help. Thank you!

  1. 1 Posted by zmaldonado on 10 Jul, 2014 06:40 PM

    zmaldonado's Avatar

    Also, for the record, I'm basing my signals on Joel Hook's FlickrGallery, if that adds some context. https://github.com/joelhooks/robotlegs-examples-FlickrGallery

  2. 2 Posted by zmaldonado on 10 Jul, 2014 06:44 PM

    zmaldonado's Avatar

    Another note: I just added the "SignalCommandMapBundle" to my project and installed in my context. Now I get this error:

    Error: Injector is missing a mapping to handle injection into target "[class SignalCommandMap]" of type "robotlegs.bender.extensions.signalCommandMap.impl::SignalCommandMap". Target dependency: robotlegs.bender.extensions.commandCenter.api::ICommandCenter|, method: ctor, parameter: 2

  3. 3 Posted by zmaldonado on 10 Jul, 2014 06:50 PM

    zmaldonado's Avatar

    Looking at Joel Hooks Signals Cafe, I wonder if I should be using the SignalContext...https://github.com/joelhooks/robotlegs-examples-Rob...

  4. 4 Posted by zmaldonado on 10 Jul, 2014 07:52 PM

    zmaldonado's Avatar

    Okay, I seeing how the documentation is 3 to 4 years old and is still using Robotlegs v1, I'm just going to stick with good old Events.

  5. Support Staff 5 Posted by Ondina D.F. on 11 Jul, 2014 08:06 AM

    Ondina D.F.'s Avatar

    Hi Zack,

    As I understand you were using an old library.
    Here is the latest SignalCommandMap extension:
    https://github.com/robotlegs/robotlegs-extensions-SignalCommandMap

    Try it out and let us know how it goes.

    Ondina

  6. Ondina D.F. closed this discussion on 17 Jul, 2014 11:51 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac