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 c57604b commit 78bdfbaCopy full SHA for 78bdfba
aggregate_root/lib/aggregate_root.rb
@@ -79,7 +79,6 @@ def marshal_load(vars)
79
def self.with_default_apply_strategy
80
Module.new do
81
def self.included(host_class)
82
- host_class.extend OnDSL
83
host_class.include AggregateRoot.with_strategy(-> { DefaultApplyStrategy.new })
84
end
85
@@ -88,7 +87,8 @@ def self.included(host_class)
88
87
def self.with_strategy(strategy)
89
90
91
- host_class.extend Constructor
+ host_class.extend OnDSL
+ host_class.extend Constructor
92
host_class.include AggregateMethods
93
94
0 commit comments