aggregatesOf

open fun aggregatesOf(command: Class<*>): List<AggregateType>

The aggregate types that decide commands of the class command: those of the context's models and of every contract the service knows (its Manifest and the peer contracts on its class path), a mounted command left out. A saga's handler that leaves a command's ref out sends it to the one type this gives; none is a missing contract, several a class it must address in full. None by default.