You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using InMemoryRepository, client.link([], stream_name: "test") works as expected: RubyEventStore::Client.new(repository:RubyEventStore::InMemoryRepository.new).link([],stream_name:"Test")
but when using RailsEventStoreActiveRecord::EventRepository, client.link([], stream_name: "test") raises exception. RubyEventStore::Client.new(repository:RailsEventStoreActiveRecord::EventRepository.new(serializer:RubyEventStore::NULL)).link([],stream_name:"Test")
Same for nil parameter - works with InMemoryRepo.
Probably RailsEventStoreActiveRecord::EventRepository#link_to_stream should check for empty event_ids similar like in "append_to_stream"
The text was updated successfully, but these errors were encountered:
While using InMemoryRepository, client.link([], stream_name: "test") works as expected:
RubyEventStore::Client.new(repository:RubyEventStore::InMemoryRepository.new).link([],stream_name:"Test")
but when using RailsEventStoreActiveRecord::EventRepository, client.link([], stream_name: "test") raises exception.
RubyEventStore::Client.new(repository:RailsEventStoreActiveRecord::EventRepository.new(serializer:RubyEventStore::NULL)).link([],stream_name:"Test")
Same for nil parameter - works with InMemoryRepo.
Probably RailsEventStoreActiveRecord::EventRepository#link_to_stream should check for empty event_ids similar like in "append_to_stream"
The text was updated successfully, but these errors were encountered: