Response To Domain Flow

The five stages a remote response passes through — transport model in a per-integration service module, a pure parser layer, a domain model, a result envelope, then collection — with the rule that each integration is its own module so one source's breakage cannot spread, and the placement rules that keep transport types out of screens. Use when adding a second remote source, when a UI file has started importing response classes, or when a screen shows a spinner forever after a response shape changed.

maxrave-dev bda53ec 9.6 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/response-to-domain-flow commit bda53ecb88

Frequently asked questions

npx skillmds@latest add maxrave-dev/response-to-domain-flow