Package-level declarations
Types
Link copied to clipboard
class PayloadMasks(manifest: Manifest, strategies: MaskStrategyResolver = MaskStrategyResolver.NONE)
The response masks of the payloads a state read and the events model return outside a snapshot query: an aggregate's state and an event's body, masked by the x-wow-sensitive and x-wow-mask keywords of their schemas in manifest's $defs, as a snapshot query masks its records (SchemaMasker): every sensitive value, whatever its level, is replaced by its mask for every caller. A payload whose schema the Manifest does not carry, or that declares nothing sensitive, is returned as it is.