-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
sea_orm::DatabaseConnection should implement Clone
by default
#517
Comments
Hey @feelingnothing, good observations! We have discussed it previously, see |
Hi, looking into this comment I faced the same issue, having to dive into the source code to find the reason on my program not compiling is not a great experience per se, great testing tooling is great to have, until it messes with how you expect a library to work, considering all of the |
How about we exclude |
Sound cool, considering that not much people would write tests with |
Because
MockConnection
is under anArc
-DatabaseConnection
can implementClone
by defaultsea-orm/src/database/db_connection.rs
Line 18 in f418c4e
sea-orm/src/database/db_connection.rs
Line 31 in f418c4e
The text was updated successfully, but these errors were encountered: