Closed
Description
Some frameworks like actix_web require app global datas to be clonable. Currently one can only disable the mock
feature to fix this. It would be great if sea_orm::DatabaseConnection
could be clonable in all cases.
Currently the mock
feature is by default enabled and that causes the sea_orm::DatabaseConnection
to not implement Clone
by default, because MockDatabaseConnection
(which is a variant of DatabaseConnection
) is not clonable.