Skip to content

v0.62.3569

Compare
Choose a tag to compare
@rasmus rasmus released this 05 Jul 19:21
c765ba2
  • New: Created AggregateReadStoreManager<,,,> which is a new read store manager
    for read models that have a 1-to-1 relation with an aggregate. If read models get
    out of sync, or events are applied in different order, events are either fecthed
    or skipped. Added extensions to allow registration.
    • UseInMemoryReadStoreFor<,,>
    • UseElasticsearchReadModelFor<,,>
    • UseMssqlReadModelFor<,,>
    • UseSQLiteReadModelFor<,,>
  • New: Added ReadModelId and IsNew properties to the context object that is
    available to a read model inside the Apply methods in order to better support
    scenarios where a single event affects multiple read model instances.
  • Minor: Applying events to a snapshot will now have the correct Version set
    inside the Apply methods.
  • Minor: Trying to apply events in the wrong order will now throw an exception.