Ben Smith

Results 42 issues of Ben Smith

A function that creates an aggregate root is currently the same as any function expecting an existing aggregate instance. You must use some field from the aggregate's state to determine...

proposal

Command allows you to interact with the configured event store by using the `Commanded.EventStore` module. You can use this module to directly append events to any stream, without needing to...

documentation

To ensure all documentation is consistently presented and available via Hex Docs it should be written in the `guides` folder. For now, the in-memory event store testing content should be...

documentation

Process managers currently persist their state after each handled event. They also use a single all stream subscription to route events to an instance and for the instance to handle...

enhancement

In certain environments Postgres’ built-in notification mechanism (LISTEN / NOTIFY) is not supported. This might be due to using an external connection pool, such as pgbouncer, or limitations of a...

Postgres [advisory locks](https://www.postgresql.org/docs/current/explicit-locking.html#ADVISORY-LOCKS) are used to ensure only a single subscription process can subscribe to each uniquely named EventStore subscription. This ensures events are only processed by a single susbcription,...

enhancement

All events appended to a stream are linked to the globally ordered _all events_ stream (named `$all`). Because the events must be assigned a unique, monotonically incrementing, and gapless event...

perfomance

Add support for linking appended events to streams using optional, built-in streams. This allows subscriptions to be created for a subset of all events (e.g. events of a given aggregate...

proposal

Due to `LISTEN` / `NOTIFY` not working on Azure hosted Postgres databases. Please refer to [Postgrex.Notifications does not receive notifications from hosted PostgreSQL DB on Azure #375](https://github.com/elixir-ecto/postgrex/issues/375) issue in the...

Support for `jsonb` data type has been added in #86. It would be useful to provide a data migration script to convert existing (JSON encoded) `bytea` event data and metadata...