New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Boxed Queries Cloneable #1698

Closed
Narfinger opened this Issue May 17, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@Narfinger

Narfinger commented May 17, 2018

At the moment Boxed Queries (resulting from into_boxed()) are not cloneable.
My use case is that I want to keep constructing the query in a different part of the code and keep it in a struct. Periodically I want to execute the query and load the result but of course, keep the struct.

Is there a reason why this is not cloneable?

@sgrif

This comment has been minimized.

Member

sgrif commented May 17, 2018

Clone is not object safe. We can never make them cloneable.

@sgrif sgrif closed this May 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment