Skip to content

Commit

Permalink
Remove deprecated methods from AggregateConfigurer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalloc committed Sep 27, 2023
1 parent 0dc53fa commit 05feb13
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,30 +94,6 @@ type AggregateConfigurer interface {
// Aggregate handlers support the HandlesCommand() and RecordsEvent() route
// types.
Routes(...AggregateRoute)

// ConsumesCommandType configures the engine to route commands of a specific
// type to the handler.
//
// The application's configuration MUST route each command type to a single
// handler.
//
// The command SHOULD be the zero-value of its type; the engine uses the
// type information, but not the value itself.
//
// Deprecated: Use AggregateConfigurer.Routes() instead.
ConsumesCommandType(Command)

// ProducesEventType configures the engine to use the handler as the source
// of events of a specific type.
//
// The application's configuration MUST source each event type from a single
// handler.
//
// The event SHOULD be the zero-value of its type; the engine uses the type
// information, but not the value itself.
//
// Deprecated: Use AggregateConfigurer.Routes() instead.
ProducesEventType(Event)
}

// AggregateCommandScope performs engine operations within the context of a call
Expand Down

0 comments on commit 05feb13

Please sign in to comment.