Skip to content

feat: derive Copy and Clone on Queries - #11

Merged
jrandolf-old merged 1 commit into
mainfrom
feat/queries-copy-clone
Apr 14, 2026
Merged

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

Conversation

@jrandolf-old

Copy link
Copy Markdown
Member

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-old
jrandolf-old merged commit c33d55f into main Apr 14, 2026
jrandolf-old pushed 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-old
jrandolf-old deleted the feat/queries-copy-clone branch April 14, 2026 01:42
jrandolf-old pushed a commit that referenced this pull request Aug 3, 2026
## 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
- [x] `cargo test` — 21 codegen snapshots + lib tests pass
- [x] `cargo check` on all four examples passes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jrandolf-old pushed a commit that referenced this pull request Aug 3, 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))
([73cfefa](73cfefa))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
jrandolf-old pushed a commit that referenced this pull request Aug 3, 2026
## 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
- [x] `cargo test` — 21 codegen snapshots + lib tests pass
- [x] `cargo check` on all four examples passes
jrandolf-old pushed a commit that referenced this pull request Aug 3, 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))
([12b40a6](12b40a6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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