JasperFx / marten

.NET Transactional Document DB and Event Store on PostgreSQL
https://martendb.io
MIT License
2.87k stars 457 forks source link

ApplyMetadata() should just apply to all events #3559

Closed jeremydmiller closed 3 days ago

jeremydmiller commented 3 days ago

Today the default behavior is that ApplyMetadata() only gets called on the last IEvent that's encountered on a given slice. That's been a bit problematic for a JasperFx client where they actually need the header data applied every time.

Quick flag to alter this