Skip to content

Merge Npgsql.DependencyInjection into Npgsql - #6594

Merged
roji merged 1 commit into
npgsql:mainfrom
roji:roji/merge-dependency-injection
Jun 28, 2026
Merged

roji merged 1 commit into
npgsql:mainfrom
roji:roji/merge-dependency-injection

Conversation

@roji

@roji roji commented May 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Move the non-obsolete IServiceCollection extension methods into the main Npgsql project
  • Remove the standalone Npgsql.DependencyInjection project/package from the solution
  • Rewire dependency injection tests to reference Npgsql directly
  • Add the newly exposed DI APIs to src/Npgsql/PublicAPI.Unshipped.txt

Validation

  • git diff --check
  • Not run: dotnet build / dotnet test because dotnet is not installed in this environment

Closes #6594

Copilot AI review requested due to automatic review settings May 28, 2026 14:51
@roji
roji requested a review from vonzshik as a code owner May 28, 2026 14:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot's findings

  • Files reviewed: 10/11 changed files
  • Comments generated: 1

Comment thread Npgsql.slnx Resolved
Comment thread src/Npgsql/Npgsql.csproj Resolved
@0xced

0xced commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Note

This will fix #6590

@vonzshik vonzshik linked an issue Jun 18, 2026 that may be closed by this pull request
Move the non-obsolete IServiceCollection extension methods from the separate Npgsql.DependencyInjection project into the main Npgsql project, remove the standalone project from the solution, and rewire its tests to reference Npgsql directly.

Co-authored-by: Copilot <[email protected]>
@roji
roji force-pushed the roji/merge-dependency-injection branch from e6ab1f1 to f4d009a Compare June 28, 2026 13:54
@roji
roji merged commit 46999ea into npgsql:main Jun 28, 2026
12 checks passed
@roji
roji deleted the roji/merge-dependency-injection branch June 28, 2026 14:00
0xced added a commit to 0xced/npgsql that referenced this pull request Jul 5, 2026
Now that dependency injection has been merged into the main project (npgsql#6594) the dependency injection tests can also be moved into the main test project.
roji pushed a commit that referenced this pull request Jul 7, 2026
Now that dependency injection has been merged into the main project (#6594) the dependency injection tests can also be moved into the main test project.
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.

Merge Npgsql.DependencyInjection into Npgsql

4 participants