Skip to content

refactor: Explicitly declare the default stack as a prestep to removing fallback logic#7

Merged
ralflang merged 1 commit into
FRAMEWORK_6_0from
refactor/modern-controller-migration
May 15, 2026
Merged

refactor: Explicitly declare the default stack as a prestep to removing fallback logic#7
ralflang merged 1 commit into
FRAMEWORK_6_0from
refactor/modern-controller-migration

Conversation

@ralflang
Copy link
Copy Markdown
Member

No description provided.

ralflang added a commit to horde/Core that referenced this pull request May 13, 2026
… 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 merged commit b83a2e9 into FRAMEWORK_6_0 May 15, 2026
0 of 6 checks passed
ralflang added a commit to horde/Core that referenced this pull request May 15, 2026
… 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
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.

1 participant