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.
2 parents 8fc1032 + 610c00c commit 6b2e983Copy full SHA for 6b2e983
commandhandler/aggregate/commandhandler.go
@@ -77,7 +77,7 @@ func WithUseAtomic() Option {
77
func (h *CommandHandler) HandleCommand(ctx context.Context, cmd eh.Command) error {
78
if h.useAtomic {
79
h.rwMutex.RLock()
80
- _, ok := h.a[cmd.AggregateType().String()]
+ _, ok := h.a[cmd.AggregateID().String()]
81
h.rwMutex.RUnlock()
82
83
if !ok {
0 commit comments