refactor(core): align architecture with cordis spatiotemporal composability

This commit is contained in:
ryan
2026-08-28 13:28:58 +08:00
parent 9f8890d159
commit e19bf36580
23 changed files with 1469 additions and 374 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ func (p *Plugin) Apply(ctx *core.Context) error {
// 2. Initialize and provide UserService
if p.userSvc == nil {
p.userSvc = newUserService()
p.userSvc = newUserService(ctx.Events())
}
core.Provide[contracts.UserService](ctx, p.userSvc)