zilverline/sequent

View on GitHub
lib/sequent/core/event_store.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method store_events has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def store_events(command, streams_with_events = [])
        command_record = CommandRecord.create!(command: command)
        event_records = streams_with_events.flat_map do |event_stream, uncommitted_events|
          unless event_stream.stream_record_id
            stream_record = Sequent.configuration.stream_record_class.new
Severity: Minor
Found in lib/sequent/core/event_store.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status