Skip to content

Commit

Permalink
Dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlyobvious committed Nov 26, 2023
1 parent 7cb3785 commit 108b6f2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 42 deletions.
14 changes: 0 additions & 14 deletions examples/repository/lib/project_management.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,3 @@
require_relative "project_management/repository"
require_relative "project_management/issue"
require_relative "project_management/handler"

module ProjectManagement
class Configuration
def call(event_store, command_bus)
handler = Handler.new(event_store)
command_bus.register(CreateIssue, handler.public_method(:create))
command_bus.register(ReopenIssue, handler.public_method(:reopen))
command_bus.register(ResolveIssue, handler.public_method(:resolve))
command_bus.register(CloseIssue, handler.public_method(:close))
command_bus.register(StartIssueProgress, handler.public_method(:start))
command_bus.register(StopIssueProgress, handler.public_method(:stop))
end
end
end
14 changes: 0 additions & 14 deletions examples/roles/lib/project_management.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
require_relative "../../../shared/lib/project_management"
require_relative "project_management/handler"
require_relative "project_management/issue"

module ProjectManagement
class Configuration
def call(event_store, command_bus)
handler = Handler.new(event_store)
command_bus.register(CreateIssue, handler.public_method(:create))
command_bus.register(ReopenIssue, handler.public_method(:reopen))
command_bus.register(ResolveIssue, handler.public_method(:resolve))
command_bus.register(CloseIssue, handler.public_method(:close))
command_bus.register(StartIssueProgress, handler.public_method(:start))
command_bus.register(StopIssueProgress, handler.public_method(:stop))
end
end
end
14 changes: 0 additions & 14 deletions examples/yield_based/lib/project_management.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,3 @@
require_relative "aggregate_repository"
require_relative "project_management/handler"
require_relative "project_management/issue"

module ProjectManagement
class Configuration
def call(event_store, command_bus)
handler = Handler.new(event_store)
command_bus.register(CreateIssue, handler.public_method(:create))
command_bus.register(ReopenIssue, handler.public_method(:reopen))
command_bus.register(ResolveIssue, handler.public_method(:resolve))
command_bus.register(CloseIssue, handler.public_method(:close))
command_bus.register(StartIssueProgress, handler.public_method(:start))
command_bus.register(StopIssueProgress, handler.public_method(:stop))
end
end
end

0 comments on commit 108b6f2

Please sign in to comment.