Open rbennettcw opened 1 month ago
How much of this boilerplate can be derived from the basic schema structure? In other words, given a list of policies/projections (event handlers) with their respective schemas (input events/schemas), how much integration (wiring) can we build by establishing some sensible conventions (naming, bindings, queues, routing, strategies, etc).
As of recently, almost every feature we build requires creating new events/policies/projections passed via the Outbox/RMQ system. But there's a lot of boilerplate required to produce a working event pipeline:
With so many steps, making an error or forgetting a step is almost inevitable.
The ideal approach would be:
With all the improvements that have been made to the framework, this is the last major bottleneck for development velocity. We can make development faster and safer by abstracting away all event-handling logic.