From ace5411b0f5ae22646e74e91376613710e2145a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Fi=C5=A1era?= Date: Fri, 14 May 2021 16:21:53 +0200 Subject: [PATCH] #340 - Fix OutcomeCreated version when created with the version 1 constructor. --- src/Money/Events/OutcomeCreated.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Money/Events/OutcomeCreated.cs b/src/Money/Events/OutcomeCreated.cs index ab49dd65..b528ad0c 100644 --- a/src/Money/Events/OutcomeCreated.cs +++ b/src/Money/Events/OutcomeCreated.cs @@ -54,6 +54,7 @@ internal OutcomeCreated(Price amount, string description, DateTime when, IKey ca Description = description; When = when; CategoryKey = categoryKey; + CompositeVersion = 1; } [CompositeConstructor(Version = 2)]