ReadonlydataReadonlyidReadonlyidentifierReadonlytimestampReadonlytypeStaticcreateStaticextractThis is used to automatically create the identifier. It retrieve every key/pair from the data object where the 'key' end with 'Id'
Staticreconstitute
This class is an helper to focus on the relevant part of your sourcing events Wich are the
typeof event and thedataof the event.If you don't want to be heavily coupled with this library you could make your own implementation of it and use the type ToPersistEvent to append event and PersistedEvent to query events
Remarks
The class will genereate automatically the identifier if not provided