Issue 1: Even though the combination of start and backwards seems to make sense, this implementation was not correct. The EventStore returns the first snapshot in this case instead of the last snapshot. Unfortunately this doesn't seem to be covered by the Commanded Testsuite.
Issue 2: The snapshot.data was not decoded to a struct but just to a map, which caused the ProcessManager to not match any of the handle clauses.
Issue 1: Even though the combination of
start
andbackwards
seems to make sense, this implementation was not correct. The EventStore returns the first snapshot in this case instead of the last snapshot. Unfortunately this doesn't seem to be covered by the Commanded Testsuite.Issue 2: The snapshot.data was not decoded to a struct but just to a map, which caused the ProcessManager to not match any of the
handle
clauses.