Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement dogma.EventRecorder interface. #470

Open
jmalloc opened this issue Nov 22, 2022 · 1 comment
Open

Implement dogma.EventRecorder interface. #470

jmalloc opened this issue Nov 22, 2022 · 1 comment

Comments

@jmalloc
Copy link
Member

jmalloc commented Nov 22, 2022

/cc @Evildethow

@jmalloc
Copy link
Member Author

jmalloc commented Nov 23, 2022

/cc @danilvpetrov

This isn't quite as straight forward as I had hoped. TL;DR is that there's currently no way to configure an application to record a particular event type other than from within a handler (via a call to c.ProducesEvent() in an aggregate or an integration handler).

This change would require us to add a way to declare an application-level (as opposed to handler-level) event, probably by adding an ApplicationConfigurer.ProducesEvent() method. Please continue to use the "integration handler" hack in the interim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant