Skip to content

Develop#46

Open
thekevinm wants to merge 2 commits intomasterfrom
develop
Open

Develop#46
thekevinm wants to merge 2 commits intomasterfrom
develop

Conversation

@thekevinm
Copy link
Contributor

No description provided.

thekevinm and others added 2 commits February 3, 2026 22:26
Integrates the RelationTransactionContext from df-database into SQL-specific
table operations to enable rollback/continue for virtual relationship writes.

Changes:
- Import RelationTransactionContext
- Create context in addToTransaction() when rollback or continue flags are set
- Pass context to updatePreRelations() and updatePostRelations() calls
- After post-relations, check for errors and execute compensations if rollback
- Create context in commitTransaction() for batch post-relations loop

This enables:
- rollback=true: Related write failures trigger parent rollback
- continue=true: Parent proceeds even if related writes fail

Requires: dreamfactorysoftware/df-database with RelationTransactionContext

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ransactions

feat: Wire RelationTransactionContext in SQL table operations
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