CommandTarget
class CommandTarget @InternalWowApi constructor(val type: CommandType, val aggregateId: String?, val body: Any, val headers: Map<String, String> = emptyMap())
The command a transformer sends, and to which aggregate: a body of type, decided by an aggregate the gateway serves, to the aggregate aggregateId of that type, with headers. The gateway builds the me.ahoo.wow.api.decide.Command from it by its usual rules: the tenant, the scope, the request id and the wait plan are the request's. A null aggregateId is allowed only for a command that creates its aggregate, whose id the gateway then generates.