validation/duplicate_resolver library
Classes
-
UyavaDeduplicatedEntry<
T> -
UyavaDeduplicationResult<
T> - UyavaDuplicateRecord
- Helpers for resolving duplicate payloads by identifier.
Functions
-
dedupeById<
T> (Iterable< T> entries, UyavaIdSelector<T> idSelector) → UyavaDeduplicationResult<T> -
Applies last-writer-wins deduplication to
entries, retaining metadata about conflicts for diagnostics while keeping the most recent payload for each id.
Typedefs
-
UyavaIdSelector<
T> = String? Function(T entry)