Skip to content

chore: adopt modern-di 2.25 integration seams#28

Merged
lesnik512 merged 1 commit into
mainfrom
chore/adopt-2.25-seams
Jul 7, 2026
Merged

chore: adopt modern-di 2.25 integration seams#28
lesnik512 merged 1 commit into
mainfrom
chore/adopt-2.25-seams

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

  • Replace container.providers_registry.add_providers(...) reach-in with container.add_providers(...)
  • Replace the isinstance(dep, AbstractProvider) dispatch with container.resolve_dependency(...)
  • Bump the modern-di floor to >=2.25,<3

Follows the blessed integration seams added in modern-python/modern-di#283.

Replace the providers_registry reach-in with container.add_providers(...)
and the isinstance(AbstractProvider)/resolve dispatch with
container.resolve_dependency(...). Bump the modern-di floor to >=2.25,<3.
@lesnik512 lesnik512 merged commit 07f25c5 into main Jul 7, 2026
6 checks passed
@lesnik512 lesnik512 deleted the chore/adopt-2.25-seams branch July 7, 2026 19:18
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.

1 participant