Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Version management is enabled in the create, update and delete service so multiple version of an aggregate are available, as shown in the aggregate list below.

Image RemovedImage Added

Shown is one aggregate about Tom Barman who - at first - has one job. In version 1 his name was misspelled, so this was corrected in version 2. At one point, Tom had another job, this is effectuated in version 3, the current version of the aggregate.

...

The course group aggregate only consist of the entity Course, which is a non-singleton. The create service for the aggregate CourseGroup is defined in such a way, that it is possible to save more than one course in such an aggregate. An exposed flow CourseGroupManagement is available to manage course group aggregates, as shown below.

Image RemovedImage Added

A course has a duration in number of days and a price in euros. Custom metadata fields have been defined within the course group aggregate to summarize the number of days and the price and count the number of courses for each course group aggregate. Versioning has been disabled in this part of the example, so only the latest version of each aggregate is available.