Skip to content

POC for allowing empty connection strings - #4770

Draft
Brar wants to merge 1 commit into
npgsql:mainfrom
Brar:EmptyConnectionString
Draft

Brar wants to merge 1 commit into
npgsql:mainfrom
Brar:EmptyConnectionString

Conversation

@Brar

@Brar Brar commented Nov 17, 2022

Copy link
Copy Markdown
Member

This is a prove of concept for allowing empty connection strings.
It is not meant as actual PR to be merged but rather as a means to
gather feedback and discuss the direction this should take.

Since I'd be moving your cheese quite a bit I'd like to gather feedback
early on.
If we go that direction to the end our internal ConnectionStringBuilder
might become obsolete and would be replaced by an immutable record.
Currently I've attached properties to NpgsqlDataSourceConfiguration
but it doesn't have to be that way.

@Brar
Brar force-pushed the EmptyConnectionString branch from a6e0f1f to 6787770 Compare November 17, 2022 21:36
@NinoFloris NinoFloris linked an issue Mar 14, 2026 that may be closed by this pull request

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider allowing connections with an empty connection string

1 participant