Replies: 2 comments
-
This is actually technically possible today, just there's no documentation or sample to show you how. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Moving this to discussion until we attempt to address the docs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At times, when creating modular software, it would be useful to be able to add events and event appliers for existing projections from external libraries.
An example:
If i have ProjectionA in ClassLibA with methods to apply all events within ClassLibA, if I want to add an optional feature by including another library/module (ClassLibB), the events for the optional feature must reside in ClassLibA, and ProjectionA must contain Apply methods for them.
This would break the separation of concerns and remove the benefits of breaking optional feature into a module/library.
I propose that we allow registration of EventHandlers for specific Projections and Events.
Here is a simplistic gist example
Beta Was this translation helpful? Give feedback.
All reactions