You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have some config entry for using Doctrine\DBAL\Types\Type::overrideType().
Currently the config entry:
doctrine.dbal.connections.next.types.TYPE = CLASSNAME
will add the type using Doctrine\DBAL\Types\Type::addType().
The small patch below will use overrideType() if the type already exists, and addType() if not.
This eliminates the need for an additional config entry (it is sufficient for me, but I'm not sure others will like it).
It would be nice to have some config entry for using Doctrine\DBAL\Types\Type::overrideType().
Currently the config entry:
doctrine.dbal.connections.next.types.TYPE = CLASSNAME
will add the type using Doctrine\DBAL\Types\Type::addType().
The small patch below will use overrideType() if the type already exists, and addType() if not.
This eliminates the need for an additional config entry (it is sufficient for me, but I'm not sure others will like it).
Thanx!
The text was updated successfully, but these errors were encountered: