You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: replace service locator forwarding object with Proxy (#3515)
## Summary
- Replace the hand-written method-by-method forwarding object on
`serviceLocator` with a `Proxy`-based approach
- Eliminates repetitive delegation pattern — new methods added to
`ServiceLocator` are automatically forwarded without updating the
exported object
- Adds a `set` trap that throws a helpful `TypeError` when users try to
assign properties directly instead of using setter methods (e.g.
`setConfiguration()`)
## Context
Split out from #3080 (Configuration class redesign) since this change is
independent and worth discussing separately.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments