You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Support Open Generic Notification Handlers (Global Notification Pipeline) #47
Currently, DispatchR supports open generic pipeline behaviors for requests (e.g., IPipelineBehavior<TRequest, TResponse>), allowing for global/intercepting logic across all request or stream types. However, there is no equivalent for generic notification handlers – all notification handlers must be registered for specific notification types.
Problem
There is currently no way to register a global INotificationHandler<TNotification> (open generic notification handler) that would handle all notifications, regardless of the actual notification type.
Developers might want to implement cross-cutting logic (such as logging, auditing, or metrics) for all notifications in a single place, just as with generic pipeline behaviors.
Proposal
Support registration and correct resolution of open generic notification handlers, such as:
Activity
hasanxdev commentedon Apr 17, 2026
I working on it in #48
Billskate commentedon Apr 17, 2026
Cheers!