Skip to content

Improve dependency injection child providers and registries - #391

Merged
stanoddly merged 1 commit into
mainfrom
dependency-injection-improvements
Aug 13, 2026
Merged

Improve dependency injection child providers and registries#391
stanoddly merged 1 commit into
mainfrom
dependency-injection-improvements

Conversation

@botoddly

Copy link
Copy Markdown
Collaborator

Extracts the reusable dependency-injection changes from #383 into a focused foundation PR.

  • Bind child service collections to their parent provider before registration
  • Dispose partially built providers when construction fails
  • Make inherited registration checks available during child configuration
  • Make service registries mutation-safe during iteration and support registration-time ordering
  • Migrate existing consumers and update DI documentation

Testing: dotnet test GameKit.slnx --no-restore

@stanoddly
stanoddly merged commit 68647b3 into main Aug 13, 2026
2 checks passed
@stanoddly
stanoddly deleted the dependency-injection-improvements branch August 13, 2026 06:46
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.

2 participants