Skip to content

refactor(whatsrust): extract group and chat queries - #327

Merged
Andiveli merged 1 commit into
betafrom
refactor/whatsrust-group-chat-queries
Aug 27, 2026
Merged

refactor(whatsrust): extract group and chat queries#327
Andiveli merged 1 commit into
betafrom
refactor/whatsrust-group-chat-queries

Conversation

@Andiveli

Copy link
Copy Markdown
Owner

Summary

  • Extract group information, participants, chat settings, and DM-resolution wrappers.
  • Preserve public APIs, FFI ownership, ABI behavior, error mapping, and endpoint semantics.

Changes

  • Moved the remaining query wrappers and focused group-info tests into queries.rs.
  • Added explicit facade reexports for every moved public query.

Chain Context

Testing

  • cargo fmt --all -- --check
  • CARGO_TARGET_DIR=/home/samael/Escritorio/public/wptui-public/target cargo check --workspace --all-targets
  • CARGO_TARGET_DIR=/home/samael/Escritorio/public/wptui-public/target cargo test -p whatsrust queries:: -- --test-threads=1
  • git diff --check

Review Budget and Rollback

  • Authored diff: 247 lines (126 additions + 121 deletions).
  • Rollback: revert commit e40bb73.

Closes #326

@Andiveli Andiveli added the type:refactor Code refactoring label Aug 26, 2026
@Andiveli
Andiveli changed the base branch from refactor/whatsrust-contact-community-queries to beta August 27, 2026 01:37
@Andiveli
Andiveli merged commit bbb31f3 into beta Aug 27, 2026
1 check passed
@Andiveli
Andiveli deleted the refactor/whatsrust-group-chat-queries branch August 31, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:refactor Code refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant