Skip to main content

Module forgettable

Module forgettable 

Source
Expand description

Support for forgettable event data (e.g., for GDPR compliance).

The Forgettable<T> wrapper marks event fields containing personal data that can be permanently deleted. Sensitive field values are stored in a separate “forgettable payloads” table. Calling forget() on the repository deletes those payloads, leaving the events intact but with null for forgotten fields.

Structs§

Forgettable
Wrapper for event fields containing data that can be forgotten (e.g., for GDPR).
ForgettableRef
A non-serializable reference to the value inside a Forgettable<T>.