tag:robotlegs.tenderapp.com,2009-10-18:/discussions/suggestions/45-returning-command-instance-from-icommandmapexecuteRobotlegs: Discussion 2018-10-18T16:35:23Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/53064862011-02-13T16:45:59Z2011-02-13T16:45:59ZReturning command instance from ICommandMap.execute()<div><p>Hi Aaron, unfortunately changing the return type of a function
is a breaking change - so we can't do it in RL 1.x because of
semantic versioning.</p>
<p>Any utility / code that implements ICommandMap or extends
CommandMap would have to be altered to match the new return type,
so it's no dice for now.</p>
<p>I'll put it on the 2.0 list for consideration though,</p>
<p>Stray</p></div>Straytag:robotlegs.tenderapp.com,2009-10-18:Comment/53064862011-02-13T17:10:02Z2011-02-13T17:10:02ZReturning command instance from ICommandMap.execute()<div><p>Understood. Thanks.</p></div>Aaron Hardy