DoclerLabs / hexMachina

Releases, issues, documentation, website of hexMachina, framework written in Haxe
http://hexmachina.org
MIT License
44 stars 8 forks source link

Command executor fails with cryptic error #174

Closed st3veV closed 6 years ago

st3veV commented 7 years ago

When command is mapped to a event which is dispatched with generic payload (Array as API suggests), CommandExecutor fails with error: TypeError: request.getExecutionPayloads is not a function

Either improve error reporting, or change API to make it more clear what's allowed to dispatch.

FrancisBourre commented 6 years ago

This one will go to the cemetery, hexIoC is deprecated, and hexCommand doesn't use this flow design anymore.