¿Cómo?

Al crear un choice types podemos crear una punto común, por ejemplo:

sealed interface OrderTakingCommand {
	 class PlaceOrder implements OrderTakingCommand
	 class ChangeOrder implements OrderTakingCommand
	 class CancelOrder implements OrderTakingCommand 
}

This choice type would be mapped to a DTO and serialized and deserialized on the input channel. We just need to add a new “routing” or “dispatching” input stage at the edge of the bounded context (the “infrastructure” ring of the Onion Architecture).

Este choice type se asignaría a un DTO y se serializaría y deserializaría en el canal de entrada. Solo tenemos que añadir una nueva etapa de entrada de «enrutamiento» o «distribución» en el borde del contexto delimitado (el anillo de «infraestructura» de la arquitectura cebolla).