We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31ea82 commit 189ecdbCopy full SHA for 189ecdb
aggregate_root/lib/aggregate_root.rb
@@ -93,7 +93,6 @@ def self.included(host_class)
93
def self.with_strategy(strategy)
94
Module.new do
95
def self.included(host_class)
96
- host_class.extend OnDSL
97
host_class.extend Constructor
98
host_class.include AggregateMethods
99
end
ruby_event_store-rspec/spec/spec_helper.rb
@@ -9,7 +9,7 @@
9
BazEvent = Class.new(RubyEventStore::Event)
10
11
class TestAggregate
12
- include AggregateRoot.with_strategy(-> { AggregateRoot::DefaultApplyStrategy.new(strict: false) })
+ include AggregateRoot.with_default_strategy(strict: false)
13
14
def foo
15
apply(FooEvent.new)
0 commit comments