Skip to content

v0.22.1393

Compare
Choose a tag to compare
@rasmus rasmus released this 19 Nov 06:22
  • New: To customize how a specific read model is initially created, implement
    a specific IReadModelFactory<> that can bootstrap that read model
  • New: How EventFlow handles MSSQL read models has been refactored to allow
    significantly more freedom to developers. MSSQL read models are no longer
    required to implement IMssqlReadModel, only the empty IReadModel
    interface. Effectively, this means that no specific columns are required,
    meaning that the following columns are no longer enforced on MSSQL read
    models. Use the new required MsSqlReadModelIdentityColumn attribute to mark
    the identity column and the optional (but recommended)
    MsSqlReadModelVersionColumn to mark the version column.
    • string AggregateId
    • DateTimeOffset CreateTime
    • DateTimeOffset UpdatedTime
    • int LastAggregateSequenceNumber
  • Obsolete: IMssqlReadModel and MssqlReadModel. Developers should instead
    use the MsSqlReadModelIdentityColumn and MsSqlReadModelVersionColumn
    attributes to mark the identity and version columns (read above).
    EventFlow will continue to support IMssqlReadModel, but it will be
    removed at some point in the future
  • Fixed: Added missing UseElasticsearchReadModel<TReadModel, TReadModelLocator>()
    extension