Skip to content

DDD refactor 4/8: transactions bounded context - #31

Merged
gjong merged 1 commit into
mainfrom
devin/ddd-4-transactions
Oct 30, 2026
Merged

gjong merged 1 commit into
mainfrom
devin/ddd-4-transactions

Conversation

@gjong

@gjong gjong commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Track 4 of the DDD reorganization (stacked on #30). Pure package moves, no behavior changes.

  • transactions/domain/model: Transaction, TransactionType, TransactionSplit, TransactionFilters, TransactionTemplate, TransactionClassificationSuggestion, TransactionExtractionDraft, PendingTransactionCreate
  • transactions/domain/repository: TransactionRepository, InvoiceTextReader ports; transactions/domain/usecase: GetTransactionsUseCase, ProcessInvoiceScanUseCase
  • transactions/data: TransactionRepositoryImpl, TransactionMutationInvalidator, TransactionDao, TransactionEntity, transaction DTOs, ocr/ (InvoiceTextExtractor, OcrTextFormatter)
  • transactions: TransactionTemplateStore; transactions/ui: transaction list/detail/form/scan screens and the global search screen
  • shared/data/dto: DateRangeDto extracted from TransactionDto.kt (also used by reports and accounts)

Verified: testDebugUnitTest and lintDebug pass.

Link to Devin session: https://app.devin.ai/sessions/b4abe677e08c40eea4954207aac218de
Open in Devin Desktop: https://app.devin.ai/desktop/session/b4abe677e08c40eea4954207aac218de?variant=devin
Requested by: @gjong

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@gjong
gjong added this pull request to stack #36 October 30, 2026 11:23
@gjong
gjong force-pushed the devin/ddd-4-transactions branch 2 times, most recently from dc7cf3a to bbaabd5 Compare October 30, 2026 11:28
Base automatically changed from devin/ddd-3-accounts to main October 30, 2026 11:29
com.pledgerio.app.transactions now owns the Transaction aggregate
(splits, filters, templates, classification/extraction drafts,
PendingTransactionCreate), TransactionRepository and InvoiceTextReader
ports, the GetTransactions/ProcessInvoiceScan use cases, repository and
OCR implementations, DAO/entity, remote DTOs, TransactionTemplateStore
and all transaction/search/scan screens. DateRangeDto moves to
shared/data/dto (used by reports and accounts too). Package moves only.
@gjong
gjong force-pushed the devin/ddd-4-transactions branch from bbaabd5 to 3ca06f8 Compare October 30, 2026 11:29
@gjong
gjong merged commit 0af7ca5 into main Oct 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant