Skip to content

Refactor/serve app composition#17

Closed
DENFNC wants to merge 19 commits into
refactor/serve-config-optionsfrom
refactor/serve-app-composition
Closed

Refactor/serve app composition#17
DENFNC wants to merge 19 commits into
refactor/serve-config-optionsfrom
refactor/serve-app-composition

Conversation

@DENFNC
Copy link
Copy Markdown
Collaborator

@DENFNC DENFNC commented May 18, 2026

Refactored the Go architecture closer to clean architecture boundaries:

  • fixed HTTP app composition by registering routes during dependency setup;
  • wired existing auth and trusted proxy middleware at the composition root;
  • removed core dependency on the outer pkg package by injecting token generation;
  • moved the default HookResponse behavior from the repository layer into the use case layer;
  • removed JSON/YAML tags and runtime orchestration types from domain;
  • replaced the HTTP handler’s direct dependency on hub.Hub with an EventBroker interface;
  • moved serve orchestration types from domain to core.

@GaIsBAX GaIsBAX closed this May 18, 2026
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