sequent
sequent copied to clipboard
CQRS & event sourcing framework for Ruby
In ActiveRecord 6+ multiple databases can be used under specific roles. For example a read-replica can be used for read only roles. This requires a different database configuration structure and...
Define callback `after_initialize` in `Sequent::Command`. We can use this callback to do more things, such as set default value for command attributes. ```ruby class AfterInitCommand < Sequent::Command attrs flag: Boolean...
Webrick is no longer bundled in ruby 3 so we need to add it as a gem to the documentation: See https://www.sequent.io/docs/building-a-web-application.html#installing-sinatra
Hello in the sequent spec helper when adding the workflow helpers it seems like the command helpers do not work anymore. the method then_events always return an empty array ```ruby...
`aggregate_id`'s are currently being stored as string by default and in docs. This can be a postgres `uuid` column.
I think I'm missing `Entities` in my aggregates. A bounded domain, as described in DDD, is made up of Aggregates, Entities and Value Objects. One thing I like about Sequent...
I intend to have a go at implementing this feature, so I'm opening this issue to start a discussion. To meet the requirements of the GDPR, a user needs to...
Usage: ```ruby class MyCommandMiddleware def call(command) # ... yield end end Sequent.configure do |config| config.command_middleware.add(MyCommandMiddleware.new) end ``` The middleware chain is invoked for each command passed to `Sequent.configuration.command_service.execute_commands(...)`.
Hello! At first I want to say that I have been testing out Sequent for a week now and I really like this framework. Great job guys! I hope it...