Skip to content

Release v1.4.2

Choose a tag to compare

@github-actions github-actions released this 25 Nov 19:04
c489e13

The event model nests sub-features, reads in order and checks itself.

Added

  • The arc_event_model compiler validates the model and reports what is incomplete: a state change without a command or events, a view without a read model or consumed events, an automation that reacts to or records nothing, an event no slice produces, a fact used before it is produced. event_model_strict: true in the project's arc: options makes them errors.
  • consumes: on use Cratis.Arc.ReadModel names the events of a model that no reducer or projection builds.

Changed

  • A feature path such as ApiCredentials.Secrets is now a feature inside a feature: the board nests it as subFeatures, the Screenplay source nests feature inside feature, and every depth has its own document.
  • A view or an automation is drawn after the slices that produce the events it consumes; features and modules follow the same order.
  • A view over a read model that another slice's reducer builds consumes that reducer's events.