Skip to content

refactor(routes): compose domain-owned routers - #45

Draft
tiammomo wants to merge 1 commit into
mainfrom
tiammomo/arch/issue-44-domain-router-composition
Draft

refactor(routes): compose domain-owned routers#45
tiammomo wants to merge 1 commit into
mainfrom
tiammomo/arch/issue-44-domain-router-composition

Conversation

@tiammomo

Copy link
Copy Markdown
Owner

Closes #44

Compose ModelPort HTTP application from domain-owned routers and verify the complete route ownership contract.


Moves all 68 existing HTTP registrations into domain-owned routers, keeps global middleware and API behavior unchanged, adds a deterministic method/path/domain inventory with duplicate detection and composed-router probes, and documents the ownership boundary for future domains.

Verified with scripts/check-all.sh.

Areas for careful review:

  • No known behavior changes outside the reported bug.

Implementation assistance: an external coding workspace was used to prepare the change and its
tests. tiammomo reviewed the final diff, understands it, and takes responsibility
for this contribution.

Signed-off-by: tiammomo <pearfl@qq.com>
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.

Make HTTP domains own route registration and a verifiable route inventory

1 participant