Skip to content

refactor(core): collapse StubResponseRegistry resolution ladder#66

Merged
alxsuv merged 1 commit into
mainfrom
refactor/24-stub-response-registry-resolution-ladder
Apr 19, 2026
Merged

refactor(core): collapse StubResponseRegistry resolution ladder#66
alxsuv merged 1 commit into
mainfrom
refactor/24-stub-response-registry-resolution-ladder

Conversation

@alxsuv

@alxsuv alxsuv commented Apr 19, 2026

Copy link
Copy Markdown
Member

Express the ladder as a List walked by a shared firstHit helper. Ten near-identical if-blocks become two lines plus one log site. Strategy-major precedence preserved exactly (default fallback still skips the registered tier).

Resolve: #24

Express the ladder as a List<Lookup> walked by a shared firstHit helper. Ten near-identical if-blocks become two lines plus one log site. Strategy-major precedence preserved exactly (default fallback still skips the registered tier).

Resolve: #24
Signed-off-by: Aleksandr Suvorov <asuvorov@hensu.io>
@alxsuv alxsuv merged commit c17e7de into main Apr 19, 2026
7 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.

[Refactor] Pragmatic Unification of Stub Resolution

1 participant