Class: Yes::Core::Aggregate::Dsl::ClassResolvers::Command::Base Abstract
- Defined in:
- lib/yes/core/aggregate/dsl/class_resolvers/command/base.rb
Overview
This class is abstract.
Subclass and implement the required methods from Base
Base class for command-related class resolvers
This class extends the base resolver functionality to handle command-specific class generation. It provides a foundation for resolvers that need to work with commands, such as command classes and their associated events.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(command_data) ⇒ Base
constructor
Initializes a new command-based class resolver.
Methods inherited from Base
Constructor Details
#initialize(command_data) ⇒ Base
Initializes a new command-based class resolver
22 23 24 25 26 |
# File 'lib/yes/core/aggregate/dsl/class_resolvers/command/base.rb', line 22 def initialize(command_data) @command_data = command_data super(command_data.context_name, command_data.aggregate_name) end |