Skip to content

v1.3.0

Compare
Choose a tag to compare
@idugalic idugalic released this 30 Dec 13:35
· 675 commits to main since this release

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

  • Split domain API to external and internal more explicitly by @idugalic in #344

Five parameters _Decider is now internal (not exported), in favor of three parameters Decider which is exported. Also, the _Decider is removed from the class hierarchy.

Three parameters _View is now internal (not exported), in favor of two-parameter View 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