Skip to content

Conversation

@samdark
Copy link
Member

@samdark samdark commented Jan 16, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 16, 2026 10:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request expands the closure example in the DI container documentation to explain that service dependencies can be auto-wired via closure parameters, not just accessed through the ContainerInterface.

Changes:

  • Added documentation explaining that dependencies can be requested directly as closure parameters
  • Included a code example showing auto-wiring of ConnectionInterface dependency

samdark and others added 2 commits January 16, 2026 13:50
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@samdark samdark merged commit 2270d3b into master Jan 16, 2026
6 checks passed
@samdark samdark deleted the better-closure-in-di branch January 16, 2026 11:13
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