AshEvents.AdvisoryLockKeyGenerator.Default (ash_events v0.4.2)

View Source

Default implementation of the AshEvents.AdvisoryLockKeyGenerator behaviour. Handles the attribute-strategy for multitenancy, if the tenant value used is an integer or uuid. For other scenarios, users must implemeent a custom implementation and declare it in their event-log resource configuration.

Summary

Functions

generate_key!(changeset, default_integer)

valid_uuid?(uuid)