Skip to content

#294 feat: domain operations on the transaction adapter - #295

Merged
RAprogramm merged 2 commits into
mainfrom
294
Jul 27, 2026
Merged

#294 feat: domain operations on the transaction adapter#295
RAprogramm merged 2 commits into
mainfrom
294

Conversation

@RAprogramm

Copy link
Copy Markdown
Owner

Closes #294

A command declaring sets(...) generated its UPDATE only on the pool repository, so an operation that has to commit together with other writes had to be rewritten as raw SQL — the thing declaring it was meant to prevent.

The adapter now carries the same operations: same statement, same compile-time column checking, executed against the transaction. A missing row is Ok(None) rather than an error, matching the adapter's other methods.

Covered by a live test that runs the operation inside a transaction, rolls back and proves the write went with it, and asserts an unknown id reports no row. Documented in the README and the commands page in all five wiki languages.

Comment thread crates/entity-derive-impl/src/entity/transaction.rs Dismissed
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.91304% with 1 line in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...rates/entity-derive-impl/src/entity/transaction.rs 98.91% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@RAprogramm
RAprogramm merged commit a78b18f into main Jul 27, 2026
29 checks passed
@RAprogramm
RAprogramm deleted the 294 branch July 27, 2026 04:31
@RAprogramm RAprogramm mentioned this pull request Jul 27, 2026
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.

Domain operations are missing from the transaction adapter

2 participants