-
Notifications
You must be signed in to change notification settings - Fork 8
[RFC]: DsnProvider and Dsn VO #146
Copy link
Copy link
Open
Labels
Lang Feature RefactorRefactoring to new language featuresRefactoring to new language featuresPlatform migrationChanges related to platform migrationsChanges related to platform migrationsenhancementNew feature or requestNew feature or requestnext minorTarget next minor release.Target next minor release.qaImprovements in quality assurance of the projectImprovements in quality assurance of the project
Milestone
Metadata
Metadata
Assignees
Labels
Lang Feature RefactorRefactoring to new language featuresRefactoring to new language featuresPlatform migrationChanges related to platform migrationsChanges related to platform migrationsenhancementNew feature or requestNew feature or requestnext minorTarget next minor release.Target next minor release.qaImprovements in quality assurance of the projectImprovements in quality assurance of the project
Type
Projects
Status
Todo
Proposed Version
0.6.0
Basic Information
I am proposing the addition of a Dsn class.
Background
Currently, there is no contract around what a DSN is. We have to accept array|string and return a string. Its messy. This will allow each driver package to expose its own Dsn in a type safe way.
Considerations
Pgsql - Is at least one driver that I know of currently that uses a "connection string" but is not backed by a Pdo driver.
Proposal(s)
Will update this after some planning and solid code examples are built in a branch.
Appendix/Additional Info
No response