modernice / goes

goes is an event-sourcing framework for Go.
https://goes.modernice.dev
Apache License 2.0
134 stars 12 forks source link

Allow use of custom event for builtin.AggregateDeleted #19

Closed bounoable closed 2 years ago

bounoable commented 2 years ago

The builtin.AggregateDeleted event is weird to use when trying to subscribe to the deletion of a specific aggregate type. Users should be able to provide a custom event for each aggregate type which is published instead of or with the builtin event.