Repository navigation
Release v6.9.0
Projections can now express read models that used to need a reducer: dictionary entries keyed from the event, set-once values and ordered children.
Added
set once <property> = <value>assigns a projection property only while it has no value, for values such as who created an entry and when (#1220)- Dictionary entries keyed from the event's content with
<property>.$eventContent.<path>, and from$causedBy.subject,.nameor.userName, alongside the existing$eventContextkeys remove <property>.$eventContent.<path>deletes a dictionary entryinsert first,insert lastandsort by <property> [ascending|descending]in achildrenblock control where new children are placed- Diagnostics
PLAY0956toPLAY0963for misplaced or invalid dictionary keys,removelines and children ordering, reported alike by the C# and TypeScript compilers and the editor - Semantic model version 43 executes set once and ordered children in specifications
Changed
clearon a dictionary entry is now an error that points toremove