Skip to content

[RFC]: DsnProvider and Dsn VO #146

@tyrsson

Description

@tyrsson

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

Metadata

Metadata

Assignees

Labels

Lang Feature RefactorRefactoring to new language featuresPlatform migrationChanges related to platform migrationsenhancementNew feature or requestnext minorTarget next minor release.qaImprovements in quality assurance of the project

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions