Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions domains/communication/lib/communication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ def read(message_id)
apply MessageRead.new(data: { message_id: message_id })
end

def apply_message_sent(_)
on MessageSent do |_|
end

def apply_message_read(_)
on MessageRead do |_|
end
end
end
4 changes: 2 additions & 2 deletions infra/lib/infra/event_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ def self.default_mapper
def self.in_memory
new(
RubyEventStore::Client.new(
repository: RubyEventStore::InMemoryRepository.new(ensure_supported_any_usage: true)
repository: RubyEventStore::InMemoryRepository.new
)
)
end

def self.in_memory_rails
new(
RailsEventStore::Client.new(
repository: RubyEventStore::InMemoryRepository.new(ensure_supported_any_usage: true)
repository: RubyEventStore::InMemoryRepository.new
)
)
end
Expand Down
Loading