-
-
Notifications
You must be signed in to change notification settings - Fork 475
Open
Description
Feature Request
What
With your version 3 you made ConnectionFactory final, forcing us to wrap the service instead of extending it. This works fine, but there is no interface we could be using.
Why
We use a custom ConnectionFactory to inject additional services into our custom connection that we need.
Also we register some additional and complex database types in there that are not compatible with ConnectionFactory::initializeTypes.
How
Implementing an interface like this would already suffice:
interface ConnectionFactoryInterface {
public function createConnection(array $params, ?Configuration $config = null, array $mappingTypes = []): Connection;
}Thank you
Metadata
Metadata
Assignees
Labels
No labels