Skip to content

refactor(contacts): extract ContactDataSource from direct DAO usage#804

Merged
bmc08gt merged 1 commit into
code/cashfrom
refactor/create-datasource-for-contacts
May 29, 2026
Merged

refactor(contacts): extract ContactDataSource from direct DAO usage#804
bmc08gt merged 1 commit into
code/cashfrom
refactor/create-datasource-for-contacts

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 29, 2026

Move ContactCoordinator off FlipcashDatabase.getInstance()?.contactDao() calls and onto an injectable ContactDataSource in persistence:sources. This centralises contact persistence access and makes it reusable by other modules (e.g. notifications).

Move ContactCoordinator off FlipcashDatabase.getInstance()?.contactDao()
calls and onto an injectable ContactDataSource in persistence:sources.
This centralises contact persistence access and makes it reusable by
other modules (e.g. notifications).

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 29, 2026
@github-actions github-actions Bot added the type: refactor Code restructuring, no behavior change label May 29, 2026
@bmc08gt bmc08gt merged commit 219f3cc into code/cash May 29, 2026
3 checks passed
@bmc08gt bmc08gt deleted the refactor/create-datasource-for-contacts branch May 29, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: refactor Code restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant