From 6ea223b9f780c90d5b49fa51f6d7a2ae7770a6c6 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Sun, 1 Mar 2026 18:33:44 -0600 Subject: [PATCH] relate: 77c0b897 --RELATED_TO--> 27a1f728 --- ...ng-pattern-for-api-heavy-screens-in-ru-77c0b8.md | 7 ++++++- ...TED_TO--rust-reqwest-responsejson-yiel-a24de3.md | 13 +++++++++++++ ...son-yields-reqwesterror-not-serde-json-27a1f7.md | 12 +++++++----- 3 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 graph/edges/two-phase-cached-loading-patte--RELATED_TO--rust-reqwest-responsejson-yiel-a24de3.md diff --git a/graph/code-patterns/two-phase-cached-loading-pattern-for-api-heavy-screens-in-ru-77c0b8.md b/graph/code-patterns/two-phase-cached-loading-pattern-for-api-heavy-screens-in-ru-77c0b8.md index 1a2ada5122e..2ffbf801821 100644 --- a/graph/code-patterns/two-phase-cached-loading-pattern-for-api-heavy-screens-in-ru-77c0b8.md +++ b/graph/code-patterns/two-phase-cached-loading-pattern-for-api-heavy-screens-in-ru-77c0b8.md @@ -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 diff --git a/graph/edges/two-phase-cached-loading-patte--RELATED_TO--rust-reqwest-responsejson-yiel-a24de3.md b/graph/edges/two-phase-cached-loading-patte--RELATED_TO--rust-reqwest-responsejson-yiel-a24de3.md new file mode 100644 index 00000000000..b0127bbc787 --- /dev/null +++ b/graph/edges/two-phase-cached-loading-patte--RELATED_TO--rust-reqwest-responsejson-yiel-a24de3.md @@ -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 diff --git a/graph/fixes/rust-reqwest-responsejson-yields-reqwesterror-not-serde-json-27a1f7.md b/graph/fixes/rust-reqwest-responsejson-yields-reqwesterror-not-serde-json-27a1f7.md index 7870b22cd18..c3d9b8931ba 100644 --- a/graph/fixes/rust-reqwest-responsejson-yields-reqwesterror-not-serde-json-27a1f7.md +++ b/graph/fixes/rust-reqwest-responsejson-yields-reqwesterror-not-serde-json-27a1f7.md @@ -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. - - - -