Skip to content

Commit

Permalink
Added a note about archiving streams as part of the aggregate handler…
Browse files Browse the repository at this point in the history
… workflow. Closes GH-1109
  • Loading branch information
jeremydmiller committed Jan 10, 2025
1 parent 23a18a8 commit 3c5a694
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/guide/durability/marten/event-sourcing.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,4 +504,7 @@ public static class RaiseIfValidatedHandler
<sup><a href='https://github.com/JasperFx/wolverine/blob/main/src/Persistence/MartenTests/aggregate_handler_workflow.cs#L406-L422' title='Snippet source file'>snippet source</a> | <a href='#snippet-sample_passing_aggregate_into_validate_method' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

## Archiving Streams

To mark a Marten event stream as archived from a Wolverine aggregate handler, just append the special Marten [Archived](https://martendb.io/events/archiving.html#archived-event)
event to the stream just like you would in any other aggregate handler.

0 comments on commit 3c5a694

Please sign in to comment.