OwnerPolicy

The ownership policy of an aggregate, declared with AggregateOwner. Since 9.3.0.

Entries

Link copied to clipboard

No owner: operations are performed without an owner context. The default.

Link copied to clipboard

Every operation carries an owner: the routes take an owner/{ownerId} prefix, and loading the state checks it.

Link copied to clipboard

The owner ID is the aggregate ID: the aggregate instance itself is the ownership boundary, as for a user's own cart.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

whether operations on the aggregate carry an owner.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.