SnapshotRebuildModel

The built-in aggregate that takes a context's snapshot rebuild requests: <context>.snapshot, one instance per snapshotted aggregate type in each tenant, whose id is the aggregate type's name. It belongs to its tenant (no owner), has no lifecycle commands and no snapshots of its own, and decides wow.snapshot.Rebuild(ids): it commits wow.SnapshotRebuildRequested(ids), each id once, which the built-in rebuild subscription (SnapshotMaintenance.REBUILD_SUBSCRIPTION) carries out. A request to an instance that is no snapshotted aggregate type of the context is rejected with FrameworkCodes.COMMAND_INVALID.

Functions

Link copied to clipboard

Whether model is a context's built-in rebuild aggregate.

Link copied to clipboard

The model of context's rebuild aggregate, taking the requests of its snapshotted aggregates, by name.