jamescrosswell / CommandRouting

A DNX alternative to MVC that lets you route directly to CQRS style command handlers.
MIT License
3 stars 3 forks source link

I want to be able to configure route decorators #21

Open jamescrosswell opened 8 years ago

jamescrosswell commented 8 years ago

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