Skip to content

Allow sending queries from INpgsqlDatabaseInfoFactory.Load - #6634

Open
vonzshik wants to merge 1 commit into
mainfrom
6633-allow-sending-queries-while-loading-types
Open

Allow sending queries from INpgsqlDatabaseInfoFactory.Load#6634
vonzshik wants to merge 1 commit into
mainfrom
6633-allow-sending-queries-while-loading-types

Conversation

@vonzshik

Copy link
Copy Markdown
Contributor

Fixes #6633

@vonzshik
vonzshik requested a review from roji as a code owner August 18, 2026 12:11
/// database isn't of the correct type and isn't handled by this factory.
/// </returns>
Task<NpgsqlDatabaseInfo?> Load(NpgsqlConnector conn, NpgsqlTimeout timeout, bool async);
Task<NpgsqlDatabaseInfo?> Load(NpgsqlConnector conn, NpgsqlTimeout timeout, bool async, CancellationToken cancellationToken = default);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change.
Do the strict rules also apply to members being experimental?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is indeed a breaking change, although given that this API was flawed for years and no one complained, I guess it's not really used by anyone other than us. But let's see what others also think.

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.

Allow sending queries from INpgsqlDatabaseInfoFactory.Load

2 participants