Skip to content

DsnParser doesn't map scheme like before #125

Description

@snapshotpl

In doctrine dbal 3, I had url starts with: mysql:// and doctrine correctly handle this connection string. But now, even with #124 I still cannot make a connection (pdo-mysql is correct right now).

Looks like missing predefined scheme mapping in DsnParser https://github.com/Roave/psr-container-doctrine/pull/124/files#diff-a0906b5aa460579706c33a67d2bed0b0b2085cf46ef55a7d7ba103cbe5cf4407R116

It will be nice to be able to confiure this map. I see two ways:

  1. Define map in config and pass to constructor.
  2. Get DsnParser from container and then I be able to make map by my own.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions