mlomnicki/ddd-ecommerce

View on GitHub
lib/sales/adapter/persistence/order_repository.rb

Summary

Maintainability
A
0 mins
Test Coverage
require_relative 'event_sourced_repository'

module Sales
  module Adapter
    module Persistence
      class OrderRepository < EventSourcedRepository
        def aggregate_class
          Domain::Order
        end
      end
    end
  end
end