piątek, 27 stycznia 2012

Always make clone method in robotlegs events

I just spend some time looking what is wrong when I was calling my custom robotlegs Command.

Error: Injector is missing a rule to handle injection into property "event" of object...

It turned out that I don't have clone method in event that triggered command.
So remember to always override clone method.