Skip to content

Commit

Permalink
Merge pull request #118 from dolittle/stream-aggregate-events
Browse files Browse the repository at this point in the history
Deprecate old aggreagetRootVersion
woksin authored Sep 2, 2022
2 parents a0e45b1 + 4b6c9be commit 22dc0c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Runtime/Events/Committed.proto
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ message CommittedAggregateEvents {
}
string eventSourceId = 1;
protobuf.Uuid aggregateRootId = 2;
uint64 aggregateRootVersion = 3;
uint64 aggregateRootVersion = 3 [deprecated = true]; // DEPRECATED Replaced by currentAggregateRootVersion
repeated CommittedAggregateEvent events = 4;
uint64 currentAggregateRootVersion = 5; // Represents the current version of the aggregate root
}

0 comments on commit 22dc0c8

Please sign in to comment.