Skip to content

refactor(container): extract scope strategies behind a single interface#24

Merged
danpasecinic merged 1 commit into
developmentfrom
feat/scope-strategy
May 7, 2026
Merged

refactor(container): extract scope strategies behind a single interface#24
danpasecinic merged 1 commit into
developmentfrom
feat/scope-strategy

Conversation

@danpasecinic

@danpasecinic danpasecinic commented May 7, 2026

Copy link
Copy Markdown
Owner

This pull request refactors the container's service resolution logic by introducing a new, centralized strategy pattern for managing service scopes. The main goal is to make the codebase more maintainable and extensible by encapsulating the logic for singleton, transient, request, and pooled service lifetimes into separate strategy types. This also results in the removal of duplicated code and improves the clarity of how different scopes are handled.

@danpasecinic danpasecinic self-assigned this May 7, 2026
@danpasecinic danpasecinic added the enhancement New feature or request label May 7, 2026
@danpasecinic danpasecinic merged commit 256dd4f into development May 7, 2026
5 checks passed
@danpasecinic danpasecinic deleted the feat/scope-strategy branch May 7, 2026 19:14
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