Support Custom Repositories in Transactions #30
Labels
enhancement
New feature or request
from_willyovale
An issue described in original project, but never implemented
planning
Not yet ready for development
Description
Currently, the transaction object in Fireorm only exposes a
getRepository
method, which returns aTransactionRepository
. This limits the ability to use custom repositories within transactions, as there is nogetCustomRepository
method available.Steps to Reproduce
getCustomRepository
method.Expected Behavior
Ability to use custom repositories within transactions by providing a
getCustomRepository
method on the transaction object.Actual Behavior
The transaction object only exposes a
getRepository
method, which returns aTransactionRepository
.Acceptance Criteria
getCustomRepository
method on the transaction object.Additional Context
Proposed API Changes
Implement getCustomRepository Method:
getCustomRepository
method to the transaction object to support custom repositories in transactions.Special Treatment for Transaction Repositories:
Unit Tests:
Example Implementation
Original Issue
The text was updated successfully, but these errors were encountered: