Skip to content

Commit f9535c6

Browse files
committed
Deserialize to AppendedEvents
1 parent 5d01273 commit f9535c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Source/Clients/DotNET/Projections/ProjectionSnapshot.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Copyright (c) Cratis. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4+
using Cratis.Chronicle.Events;
5+
46
namespace Cratis.Chronicle.Projections;
57

68
/// <summary>
@@ -11,4 +13,4 @@ namespace Cratis.Chronicle.Projections;
1113
/// <param name="Events">The deserialized events that were applied.</param>
1214
/// <param name="Occurred">When the first event occurred.</param>
1315
/// <param name="CorrelationId">The CorrelationId the events were for.</param>
14-
public record ProjectionSnapshot<TReadModel>(TReadModel Instance, IEnumerable<object> Events, DateTimeOffset Occurred, CorrelationId CorrelationId);
16+
public record ProjectionSnapshot<TReadModel>(TReadModel Instance, IEnumerable<AppendedEvent> Events, DateTimeOffset Occurred, CorrelationId CorrelationId);

0 commit comments

Comments
 (0)