Skip to content

Optional shared pure helpers for dual projection backends - #158

Merged
patrickleet merged 1 commit into
tasks--graphql-qs-epicfrom
tasks--rust-less-context-21
Jul 27, 2026
Merged

Optional shared pure helpers for dual projection backends#158
patrickleet merged 1 commit into
tasks--graphql-qs-epicfrom
tasks--rust-less-context-21

Conversation

@patrickleet

Copy link
Copy Markdown
Collaborator

Implements [[tasks/rust-less-context-21]]

Stacked on #127 / tasks--graphql-qs-epic.

Summary

  • Added src/projection_protocol/store/backend_helpers.rs for shared pure backend helpers: checked_next, table_model_name, and change_kind_for_mutation.
  • Updated SQLx and in-memory projection protocol modules to use the shared helpers through the existing crate::projection_protocol path.
  • Kept backend trait impls and storage-specific logic in backend modules; no intentional behavior, wire format, SQL semantic, or error-code changes.

Verification

  • cargo test --lib projection_protocol (55 passed, 0 failed, 413 filtered)
  • cargo test --lib sqlx_repo (0 passed, 0 failed, 468 filtered)
  • cargo test --lib in_memory_repo (32 passed, 0 failed, 436 filtered)
  • cargo test --features sqlite --lib (491 passed, 0 failed, 0 filtered)

Rebase

  • git fetch origin tasks--graphql-qs-epic && git rebase origin/tasks--graphql-qs-epic reported the branch was up to date; verification was rerun afterwards.

Implements [[tasks/rust-less-context-21]]
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d0bb3215-da33-47c4-8075-52fc13e003a7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tasks--rust-less-context-21

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@patrickleet
patrickleet merged commit a293aa5 into tasks--graphql-qs-epic Jul 27, 2026
20 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