Skip to content

Commit

Permalink
Update flat.md
Browse files Browse the repository at this point in the history
Small text fixes
  • Loading branch information
jakobt authored and jeremydmiller committed Jan 14, 2025
1 parent 556fa1d commit a132ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/events/projections/flat.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Marten has yet another projection recipe for writing event data to flat projecti

Let’s dive right into a sample usage of this. If you’re a software developer long enough and move around just a little bit,
you’re going to get sucked into building a workflow for importing flat files of dubious quality from external partners or
customers. I’m going to claim that event sourcing is a good fit for this problem domain for event sourcing (and
customers. I’m going to claim that event sourcing is a good fit for this problem domain (and
also suggesting this pretty strongly at work). That being said, here’s what the event types might look like that are
recording the progress of a file import:

Expand Down Expand Up @@ -100,7 +100,7 @@ The `Project()` methods are a naming convention with Marten’s EventProjection.
assumed to be the event type. In this case though, it’s legal to use Marten’s `IEvent<T>` envelope type to
allow you access to event metadata like timestamps, version information, and the containing stream identity.

Now, let’s use Marten’s brand `FlatTableProjection` recipe to do a little more advanced version of the earlier projection:
Now, let’s use Marten’s `FlatTableProjection` recipe to do a little more advanced version of the earlier projection:

<!-- snippet: sample_flat_import_projection -->
<a id='snippet-sample_flat_import_projection'></a>
Expand Down

0 comments on commit a132ada

Please sign in to comment.