Skip to content

Conversation

@mplanchard
Copy link
Contributor

Not having Clone on Value makes it very difficult to store extracted values in a cache, and there seems to be no reason I can see to not implement Clone on ValueRef as well, since there are legitimate use-cases for it and it is impossible for downstream consumers to implement Clone themselves.

Not having `Clone` on `Value` makes it very difficult to store
extracted values in a cache, and there seems to be no reason I can see
to not implement `Clone` on `ValueRef` as well, since there are
legitimate use-cases for it and it is impossible for downstream
consumers to implement Clone themselves.
@masklinn masklinn enabled auto-merge (rebase) October 28, 2025 19:50
@masklinn
Copy link
Collaborator

Thanks!

@masklinn masklinn merged commit e3f16b5 into ua-parser:main Oct 28, 2025
18 checks passed
@mplanchard mplanchard deleted the mp/add-clone branch October 28, 2025 20:09
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.

2 participants