Skip to content

Commit

Permalink
Small Event.Id improvement in EventSlice.cs side-effects
Browse files Browse the repository at this point in the history
  • Loading branch information
haefele authored and jeremydmiller committed Nov 3, 2024
1 parent 450cb4c commit 962df42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Marten/Events/Projections/EventSlice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public IEnumerable<IStorageOperation> BuildOperations(EventGraph eventGraph, Doc
e.EventTypeName = mapping.EventTypeName;
e.TenantId = Tenant.TenantId;
e.Timestamp = now;
e.Id = Guid.NewGuid();
// Dont assign e.Id so StreamAction.Append can auto assign a CombGuid
}

if (eventGraph.StreamIdentity == StreamIdentity.AsGuid)
Expand Down

0 comments on commit 962df42

Please sign in to comment.