relate: 77c0b897 --RELATED_TO--> 27a1f728

This commit is contained in:
Cal Corum 2026-03-01 18:33:44 -06:00
parent b6991033a8
commit 6ea223b9f7
3 changed files with 26 additions and 6 deletions

View File

@ -6,7 +6,7 @@ tags: [sba-scouting, rust, caching, ratatui, async, tokio, sqlx, standings, api,
importance: 0.8
confidence: 0.8
created: "2026-03-02T00:33:19.472159+00:00"
updated: "2026-03-02T00:33:41.412877+00:00"
updated: "2026-03-02T00:33:44.221351+00:00"
relations:
- target: 1d64c80d-61ec-434f-902a-3a511e2b92c2
type: RELATED_TO
@ -28,6 +28,11 @@ relations:
direction: incoming
strength: 0.9
edge_id: 4cbd5bef-19ad-4c61-b737-234618b32dba
- target: 27a1f728-ec90-469c-a6ab-5644d333322f
type: RELATED_TO
direction: outgoing
strength: 0.7
edge_id: a24de396-42d1-4311-af1b-0d3dbf6f8d7a
---
# Two-Phase Cached Loading Pattern

View File

@ -0,0 +1,13 @@
---
id: a24de396-42d1-4311-af1b-0d3dbf6f8d7a
type: RELATED_TO
from_id: 77c0b897-4124-432f-84de-700ff82dcde1
from_title: "Two-phase cached loading pattern for API-heavy screens in Rust TUI"
to_id: 27a1f728-ec90-469c-a6ab-5644d333322f
to_title: "Rust: reqwest response.json() yields reqwest::Error, not serde_json::Error"
strength: 0.7
created: "2026-03-02T00:33:44.221351+00:00"
updated: "2026-03-02T00:33:44.221351+00:00"
---
Both deal with API deserialization in Rust — the two-phase pattern notes the API shape gotcha that reqwest/serde errors can trip on

View File

@ -6,7 +6,13 @@ tags: [rust, reqwest, serde, error-handling, serde_json, api]
importance: 0.5
confidence: 0.8
created: "2026-02-28T04:58:15.771467+00:00"
updated: "2026-03-01T22:02:57.289593+00:00"
updated: "2026-03-02T00:33:44.221351+00:00"
relations:
- target: 77c0b897-4124-432f-84de-700ff82dcde1
type: RELATED_TO
direction: incoming
strength: 0.7
edge_id: a24de396-42d1-4311-af1b-0d3dbf6f8d7a
---
# Fix: reqwest JSON Error Type Mismatch
@ -42,7 +48,3 @@ This lets callers distinguish **network errors** (connection dropped, timeout) f
## Context
Caught during code review of `api/client.rs` in SBA Scout Rust rewrite Phase 2.