TMP
All checks were successful
CI / Typos (push) Successful in 17s
CI / Build and test (push) Successful in 2m33s
CI / Clippy (push) Successful in 3m26s
CI / Build and test (all features) (push) Successful in 9m17s

This commit is contained in:
2026-03-18 09:36:54 -07:00
parent 915d10bd0e
commit e7afca3010
11 changed files with 249 additions and 2 deletions

View File

@@ -86,7 +86,9 @@ impl PileValue {
Self::String(_) => Arc::new(VecExtractor::default()),
Self::Blob { .. } => Arc::new(VecExtractor::default()),
Self::ListExtractor(e) => e.clone(),
Self::ObjectExtractor(_) => Arc::new(VecExtractor::default()),
Self::ObjectExtractor(e) => {
e.as_list().unwrap_or_else(|| Arc::new(VecExtractor::default()))
}
Self::Item(_) => Arc::new(VecExtractor::default()),
}
}