From 43fa496778ca1dab09454faf507817bc8ec9f960 Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Thu, 6 Aug 2026 11:34:18 +0200 Subject: [PATCH] Fix recursion-limit build failure in the new item-card renderer Same class of bug as the earlier ResourceValue/AnswerRow one: impl IntoView doesn't erase a component's concrete type within the same crate, so nested children closures need their own explicit .into_any() at the call site, not just at the outer return - missing it on the two new s (item list, item-card-fields) overflowed the query depth limit on release build. Verified locally with a full `cargo build --release` this time, not just cargo check. Co-Authored-By: Claude Sonnet 5 --- src/app.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index d3be29f..7af8ca5 100644 --- a/src/app.rs +++ b/src/app.rs @@ -851,7 +851,7 @@ fn ResourceValue( } + children=|item: serde_json::Value| view! { }.into_any() /> } @@ -928,6 +928,7 @@ fn ItemCard(item: serde_json::Value) -> impl IntoView { {v} } + .into_any() } />