v1.3.0
Fmodel
provides just enough tactical Domain-Driven Design patterns, optimized for Event Sourcing and CQRS.
The domain
components are fully isolated from the application layer and API-related concerns.
It represents a pure declaration (pure functions) of the program logic.
Decider
, View
, and Saga
The application
components orchestrate the execution of the logic by loading the state, executing domain components, and storing a new state.
EventSourcingAggregate
, StateStoredAggregate
, MaterializedView
, and SagaManager
Install
npm i @fraktalio/fmodel-ts
Available on https://www.npmjs.com/package/@fraktalio/fmodel-ts
Learn more
What's Changed
Five parameters
_Decider
is now internal (not exported), in favor of three parametersDecider
which is exported. Also, the_Decider
is removed from the class hierarchy.
Three parameters
_View
is now internal (not exported), in favor of two-parameterView
which is exported. Also, the_View
is removed from the class hierarchy.
We hope to simplify the public API with this approach. We tend to make the right thing to do the easy thing to do.
Full Changelog: v1.2.0...v1.3.0