From ae1cc4612a66f8470eaf38dac3efc5d48c633236 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Date: Tue, 14 Apr 2026 21:49:32 -0400 Subject: [PATCH] fix(types): align execution result metadata with dispatch contract Signed-off-by: Yordis Prieto --- lib/commanded/commands/execution_result.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commanded/commands/execution_result.ex b/lib/commanded/commands/execution_result.ex index 81a07e26..2f790a4f 100644 --- a/lib/commanded/commands/execution_result.ex +++ b/lib/commanded/commands/execution_result.ex @@ -25,7 +25,7 @@ defmodule Commanded.Commands.ExecutionResult do aggregate_state: struct, aggregate_version: non_neg_integer(), events: list(struct()), - metadata: struct() + metadata: map() } @enforce_keys [:aggregate_uuid, :aggregate_state, :aggregate_version, :events, :metadata]