Skip to content

Better event store abstractions - #19

Merged
lazamar merged 6 commits into
mainfrom
postgres
Sep 11, 2025
Merged

Better event store abstractions#19
lazamar merged 6 commits into
mainfrom
postgres

Conversation

@lazamar

@lazamar lazamar commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

This PR creates

  • A minimal interface for an EventStore
  • An abstraction to the connection to a Postgres database
  • An abstraction to a Postgres transaction
  • An abstraction to a Postgres event store, which is built on top of an open Postgres transaction.

This creates a much clearer separation of concerns between these abstraction layers.
These abstractions are not being used yet because I need to refactor the handlers first.

@lazamar
lazamar merged commit 4fac478 into main Sep 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant