refactor(MemberService): extract generic syncSubEntities() method #204

Merged
shahondin1624 merged 2 commits from fix/duplicate-sync-methods into main 2026-04-30 08:14:04 +02:00
Owner

Factor out the duplicated sync logic from syncAddresses(), syncPhones(), and syncEmails() into a single generic syncSubEntities() method that accepts callables for fetch/update/create/delete operations. Each specialized sync method is now a thin ~10-line wrapper.

(Closes #204)

Factor out the duplicated sync logic from syncAddresses(), syncPhones(), and syncEmails() into a single generic syncSubEntities() method that accepts callables for fetch/update/create/delete operations. Each specialized sync method is now a thin ~10-line wrapper. (Closes #204)
shahondin1624 added the backendpriority:medium labels 2026-04-30 08:13:52 +02:00
shahondin1624 added 2 commits 2026-04-30 08:13:52 +02:00
Factor out the duplicated sync logic from syncAddresses(), syncPhones(),
and syncEmails() into a single generic syncSubEntities() method that
accepts callables for fetch/update/create/delete operations. Each
specialized sync method is now a thin ~10-line wrapper.

(Closes #204)
shahondin1624 merged commit a0ad92dd47 into main 2026-04-30 08:14:04 +02:00
Sign in to join this conversation.