Skip to content

refactor/modern controller migration#102

Merged
ralflang merged 3 commits into
FRAMEWORK_6_0from
refactor/modern-controller-migration
May 15, 2026
Merged

refactor/modern controller migration#102
ralflang merged 3 commits into
FRAMEWORK_6_0from
refactor/modern-controller-migration

Conversation

@ralflang
Copy link
Copy Markdown
Member

  • docs: Mark this old-style service as deprecated
  • refactor: Explicitly declare the default stack as a prestep to removing fallback logic

amulet1 and others added 3 commits May 13, 2026 21:46
… stack

Horde_Injector is a Horde\Injector\Injector and has been for a while.
src/ code should type hint Horde\Injector\Injector (compatible with Horde_Injector).
Reworked the controller framework -  The bootstrap doesn't setup any legacy globals.
horde/core now provides a helper to emit a default middleware stack with legacy globals.
Routes which need them need to declare HordeCore middleware in their stack.
See related PRs for explicitly declaring middleware stacks in multiple apps.

horde/skeleton#1
horde/base#88
horde/content#5
horde/jonah#7
horde/trean#4
horde/wicked#23
horde/nag#16

AppRouter is no longer necessary, RuntimeRoutesMapper is used to bootstrap routes from development files.
Todo: Implement a PrecompiledRoutesMapper and RoutesMapperCompiler
@ralflang ralflang force-pushed the refactor/modern-controller-migration branch from e96c944 to acc2110 Compare May 13, 2026 19:55
@ralflang ralflang merged commit fc06337 into FRAMEWORK_6_0 May 15, 2026
0 of 4 checks passed
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