Skip to content

Let every segment carry handlers and drop the space zone - #16

Merged
noha merged 2 commits into
mainfrom
segments-carry-handlers
Oct 7, 2026
Merged

noha merged 2 commits into
mainfrom
segments-carry-handlers

Conversation

@noha

@noha noha commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

A space zone was a named segment that carried handlers and could not answer a method on its own path, so GET /account/organizations had no place to live. Handlers move to HOPSegment, the uri space becomes a named segment (the root is the empty path, a mounted space adds its name), and HOPSpaceZone stays as an empty deprecated subclass until the services stop creating it. asHOPSpaceZone answers the segment itself.

The uri builder now walks through a mounted uri space instead of stopping at it.

noha and others added 2 commits October 7, 2026 11:15
A space zone was a named segment that carried handlers and could not
answer a method on its own path, so GET /account/organizations had no
place to live. Handlers move to HOPSegment, the uri space becomes a
named segment (the root is the empty path, a mounted space adds its
name), and HOPSpaceZone stays as an empty deprecated subclass until the
services stop creating it. asHOPSpaceZone answers the segment itself.

The uri builder now walks through a mounted uri space instead of
stopping at it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…with the pin

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noha
noha merged commit 80a1b75 into main Oct 7, 2026
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.

1 participant