Closed twe4ked closed 6 years ago
@twe4ked Would you provide some context for this change please? Why is it being done?
@macosgrove I've updated the description.
Thanks @twe4ked. Change LGTM. Should we increment the major version number when this is released, as it is a breaking change?
@macosgrove @stevehodgkiss @orien @salamagd @andrewgr I finally got around to fixing the merge conflicts on this PR. Can I please get another review before I merge? There is also a matching PR on event_sourcery-postgres: https://github.com/envato/event_sourcery-postgres/pull/22.
Thanks
This PR removes support for the older syntax of defining a generic
process
method on event processors and usingprocesses_events
to control what events should trigger theprocess
method to be called.I've removed this functionality in favour of using the
process EventName do |event|
DSL.Previously you could set up an event stream processor with a
process
method defined and tell event sourcery what events to process using theprocesses_events
method:We're removing that functionality in favour of the newer DSL.