UnpinnedEventsPolicy

The UnpinnedEvents.REFUSE rule as a step of the policy chain: an events query whose filter names no aggregate is rejected STORAGE_UNSUPPORTED on aggregateId; one that names them is not restricted further. It runs right after the caller's scope (ScopeQueryPolicy), before the events' visibility, so a query it refuses reads nothing.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Properties

Link copied to clipboard
open override val order: Int

Where this policy runs among the others, lowest first.

Functions

Link copied to clipboard
open suspend override fun evaluate(caller: QueryCaller, context: QueryContext<*>): FilterExpression