8000 Make `DatabaseConnection` `Clone` with the default features enabled · Issue #438 · SeaQL/sea-orm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Make DatabaseConnection Clone with the default features enabled #438
Closed
@05storm26

Description

@05storm26

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Deve 2B96 lopment

No branches or pull requests

Issue actions

    0