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.
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.