Skip to content

Commit ff3329c

Browse files
lesnik512claude
andcommitted
docs(deferred): record per-verb-with-response siblings discussion
The 0.8.2 spec deliberately scoped send_with_response to a single method; the per-verb sibling form (get_with_response etc.) was considered and deferred. Recording here so it isn't forgotten if a concrete consumer demand surfaces later. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4c197fd commit ff3329c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

planning/deferred-work.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ As of 0.7.0, all planned epics (3, 4, 5, 6) are closed — see [`engineering.md`
99
### Decoder-side
1010

1111
- **`_get_adapter` `lru_cache` is module-global, not per-decoder instance** — keyed by `model` only; two `PydanticDecoder()` instances with different configurations (none today) would share adapters, and the cache survives across tests unless explicitly cleared. Revisit if/when a configurable `PydanticDecoder(mode=..., strict=...)` lands. No such configurability is on the roadmap, so this item is dormant unless a real use-case surfaces. (`src/httpware/decoders/pydantic.py:12-14`)
12+
13+
### Client API surface
14+
15+
- **Per-verb-with-response siblings** (`get_with_response`, `post_with_response`, `request_with_response`) — the v0.8.2 spec deliberately ships only `send_with_response`; the verb-method shape would add ~400 LOC of overload boilerplate per side for a pattern (response headers + typed body) that's almost always paired with a GET and `build_request`. Revisit if a concrete consumer demand surfaces. (`src/httpware/client.py`)

0 commit comments

Comments
 (0)