Skip to content

feat: pass container to providers#22

Merged
danpasecinic merged 1 commit into
developmentfrom
feat/pass-container-to-providers
May 7, 2026
Merged

feat: pass container to providers#22
danpasecinic merged 1 commit into
developmentfrom
feat/pass-container-to-providers

Conversation

@danpasecinic

@danpasecinic danpasecinic commented May 7, 2026

Copy link
Copy Markdown
Owner

This pull request refactors the dependency injection API to simplify and clarify how providers and decorators receive dependencies. Instead of passing a Resolver interface to provider and decorator functions, the container itself (*Container) is now passed directly. This removes an unnecessary layer of indirection and streamlines the API. All related documentation, tests, and internal code have been updated to match the new signature.

@danpasecinic danpasecinic self-assigned this May 7, 2026
@danpasecinic danpasecinic added the enhancement New feature or request label May 7, 2026
@danpasecinic danpasecinic changed the title feat!: pass *Container to providers; delete Resolver indirection feat: pass container to providers May 7, 2026
@danpasecinic danpasecinic merged commit 420149e into development May 7, 2026
5 checks passed
@danpasecinic danpasecinic deleted the feat/pass-container-to-providers branch May 7, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant