Skip to content

feat: derive Copy and Clone on Queries#11

Merged
jrandolf merged 1 commit intomainfrom
feat/queries-copy-clone
Apr 14, 2026
Merged

feat: derive Copy and Clone on Queries#11
jrandolf merged 1 commit intomainfrom
feat/queries-copy-clone

Conversation

@jrandolf
Copy link
Copy Markdown
Contributor

Summary

  • Derive Copy and Clone on Queries<E> so it inherits those traits from E
  • Enables ergonomic use with cheap-to-clone executors like &Pool

Test plan

  • cargo test — 21 codegen snapshots + lib tests pass
  • cargo check on all four examples passes

🤖 Generated with Claude Code

Queries<E> now implements Copy when E: Copy and Clone when E: Clone,
enabling ergonomic use with cheap-to-clone executors like &Pool.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jrandolf jrandolf merged commit c33d55f into main Apr 14, 2026
jrandolf added a commit that referenced this pull request Apr 14, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.5](v0.1.4...v0.1.5)
(2026-04-14)


### Features

* Derive Copy and Clone on Queries
([#11](#11))
([c33d55f](c33d55f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
@jrandolf jrandolf deleted the feat/queries-copy-clone branch April 14, 2026 01:42
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