class Synapse::EventSourcing::AcceptAllConflictResolver

Conflict resolver that accepts any unseen changes to an aggregate

Public Instance Methods

resolve_conflicts(applied_changes, committed_changes) click to toggle source

@raise [ConflictingModificationException] If any conflicts were detected @param [Array] applied_changes List of changes applied to the aggregate @param [Array] committed_changes List of events that were unexpected by the command handler @return [undefined]

# File lib/synapse/event_sourcing/conflict_resolver.rb, line 28
def resolve_conflicts(applied_changes, committed_changes); end