Commanded.Middleware.Uniqueness: a middleware for the Commanded CQRS/ES framework

Commanded.Middleware.Uniqueness is a Commanded middleware for checking certain values uniqueness during commands dispatch. Might be useful as a short-term unique values cache before subsequent events persisted and projected.

Based on the @slashdotdash 's idea described in his “Building Conduit” book.

Github: https://github.com/vheathen/commanded-uniqueness-middleware

As it is in a very alpha stage didn’t publish on Hex yet.

Any thoughts and ideas are more than welcome!

4 Likes

Bumped version to 0.6.0 and finally published Commanded Uniqueness Middleware on Hex.

hex.pm: https://hex.pm/packages/commanded_uniqueness_middleware

github: https://github.com/vheathen/commanded-uniqueness-middleware