simplesoft-pt / Mediator

Small .NET library that helps with the implementation of mediator pattern for commands, events and queries
MIT License
41 stars 9 forks source link

Replace filters with some middleware delegates #1

Closed gravity00 closed 7 years ago

gravity00 commented 7 years ago

The support of filters is good, but has limitations, specially when trying to pass information from an executing to an executed or failed filter. If interception was instead made using a middleware which itself invoked the next step, it would allow for more possibilities.