Skip to content

Extracting/Separate ES Repo Lib? #16

@bartelink

Description

@bartelink

I'm planning to use F# intrinsics to pretty much all testing/impl of Aggregates a la FsUno.

Within the sample are switchable GES/InMemory 'Store' impl consisting of two [F#] functions:-

  • readEvents
  • appendEvents

All that's missing from my perspective is a third implementation of those functions :- for NEventStore

I'll probably go to production against NES but obviously the ideal is to either have it switchable to GES when the time is right or at least not have cornered myself abusing NESisms that are going to be fundamentally incompatible.

While the merit of the LCD between them is obviously debatable, it nonetheless is something I am interesting in sweeping to the side for a time.

I'm wondering whether you have future plans/ideas/opinions re extracting an ES repo abstraction as a separate thing ?

I'm not talkiing about starting some superproject that will unify all Event Sourcing impls planet-wide; more like an OWIN-like 'spec' consisting of 2 function sigs with drop-in impls which would be adhere to that common 'interface'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions