marten
marten copied to clipboard
.NET Transactional Document DB and Event Store on PostgreSQL
A small repro using Marten 7.0.0 beta 4 ``` using Marten; using Microsoft.Extensions.Hosting; var host = Host.CreateDefaultBuilder() .ConfigureServices((ctx, services) => { services.AddMarten(opts => { opts.Connection("xxx"); opts.Schema.For().NgramIndex(x => x.NGramString); }) .ApplyAllDatabaseChangesOnStartup()...
Based on the [Discord discussion](https://discord.com/channels/1074998995086225460/1121076309959921744) with: @daveHylde, @oskardudycz and @jeremydmiller. We discovered that Async Daemon (regardless in HotCold / Solo mode), especially works on Kubernetes, sometimes fail with `ProgressionProgressOutOfOrderException` and...
At the moment if you write explicit code, such as https://jeremydmiller.com/2024/01/31/using-explicit-code-for-marten-projections/?replytocom=48346#respond for an aggregate and you change `opts.Projections.LiveStreamAggregation();` into `opts.Projections.Add(new GesprekProjection(), ProjectionLifecycle.Live);` You get `Unhandled exception. System.ArgumentOutOfRangeException: Live cannot be...
Hey, I run into a small issue with the `ISoftDeleted` interface. In the [docs](https://martendb.io/documents/deletes.html#deletion-metadata-on-documents) it says: ``` Implementing ISoftDeleted on your document means that: * Those same properties will be...
I encountered an issue with `MultiStreamProjection` I have projection defined like this ```csharp public class MyViewProjection: MultiStreamProjection { public MyViewProjection() { Identity(e => e.Id); Identity(e => e.ParentId); Identity(e => e.ParentId);...
at @oskardudycz 's recommendation, this single markdown file is meant to capture comments and discussions about possible enhancements to the Marten event sourcing functionality in the V7 release timeframe. All...
Adds support for MultiStreamProjection to AggregateTo Open issue still to solve is that the Id of the resulting document is not set. Closes #2889
As the title says. When using QueryAllRawEvents().AggregateTo() the document Id does not get set on the resulting aggregate while AggregateStream does set it.
As the title says, MultiStreamProjections are not supported, only SingleStreamProjection.