It would be nice to be able to have Command Routing wrap all/certain routes in decorators or composites that could add aspects such as logging.
• Decorate all commands
• Decorate the first/last/nth command in each pipeline
• Decorate all commands matching a certain predicate
• Decorate all commands handling a certain Request type
• Decorate all commands returning a certain Response type
It would be nice to be able to have Command Routing wrap all/certain routes in decorators or composites that could add aspects such as logging. • Decorate all commands • Decorate the first/last/nth command in each pipeline • Decorate all commands matching a certain predicate • Decorate all commands handling a certain Request type • Decorate all commands returning a certain Response type