$.event
with the current state of the projection by targeting the full projection state using the JsonPath selector $.projection
.$.event
(the current event being handled) and $.projection
(the current projection state).$.metadata
struct containing the fields aggregateId
, timestamp
, createdAt
and updatedAt
.targetSelector
and eventSelector
are $.event
and $.projection
, respectively.rawData
argument instead of the eventSelector
. You can then provide any JSON value which will be used as-is.rawData
and eventSelector
are always mutual exclusive, so make sure you only provide one of them in your function configuration.""
false
0
[]
{}
targetFilter
and eventFilter
.[?]
in the selector text, as described in the JsonPath documentation. The filter for the selector is then applied for the given function. This is useful for matching on ids in nested lists or to apply conditional logic for when/how to process events.