Give IncomingRequests a port instead of the Session it drives
Test / lint (pull_request) Successful in 23s
Test / test (18) (pull_request) Successful in 31s
Test / test (20) (pull_request) Successful in 37s
Test / test (22) (pull_request) Successful in 32s
Test / test (24) (pull_request) Successful in 34s
Test / test (26) (pull_request) Successful in 37s
Mirror / push (push) Successful in 5s

This commit is contained in:
2026-09-28 00:38:41 +02:00
parent b90c2647be
commit b2183ea30e
5 changed files with 133 additions and 65 deletions
+2 -1
View File
@@ -88,7 +88,8 @@ src/
Imports point one way: `defs` knows nothing above it but `result.ts`, `pdu` uses `defs`, `session`
uses `pdu`, and `client`/`server` use `session`. The one way back up is the `Session` handed to
`IncomingRequests` and `createSms()`, imported as a type only.
`createSms()`, imported as a type only; `IncomingRequests` reaches its session through the
`IncomingDeps` port.
**Parameter order is wire order.** The key order inside `cmds.*.params` is the order the fields are
written to and read from the buffer. Never sort those alphabetically — the alphabetical-ordering