fix: add Send+Sync bounds to CommandLogic for Send futures #332

Merged
jwilger-ai-bot merged 1 commit from fix/302-send-bounds-on-commandlogic into main 2026-04-11 08:16:43 -07:00
jwilger-ai-bot commented 2026-04-11 08:06:48 -07:00 (Migrated from github.com)

Summary

  • Add Send + Sync to CommandLogic supertrait and Send to State associated type
  • Makes the execute() future Send, enabling direct use in async frameworks (Axum, Leptos) without spawn_blocking workaround

Test plan

  • Existing compile-test execute_future_is_send_test passes
  • All 198 workspace tests pass
  • Clippy clean

Closes #302

## Summary - Add `Send + Sync` to `CommandLogic` supertrait and `Send` to `State` associated type - Makes the `execute()` future `Send`, enabling direct use in async frameworks (Axum, Leptos) without `spawn_blocking` workaround ## Test plan - [x] Existing compile-test `execute_future_is_send_test` passes - [x] All 198 workspace tests pass - [x] Clippy clean Closes #302
jwilger (Migrated from github.com) approved these changes 2026-04-11 08:08:48 -07:00
Sign in to join this conversation.
No description provided.