From 069e2532785192a73ac0f0103b2517294f6a43a2 Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Sun, 21 Apr 2024 03:39:02 -0700 Subject: [PATCH] Core: Update data convertion for `SMISMEMBER` (#1316) --- glide-core/src/client/value_conversion.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/glide-core/src/client/value_conversion.rs b/glide-core/src/client/value_conversion.rs index 71d97b3d53..2ac0f2f9ed 100644 --- a/glide-core/src/client/value_conversion.rs +++ b/glide-core/src/client/value_conversion.rs @@ -164,7 +164,10 @@ pub(crate) fn convert_to_expected_type( Value::Array(array) => { let array_of_bools = array .iter() - .map(|v| Value::Boolean(from_owned_redis_value::(v.clone()).unwrap())) + .map(|v| { + convert_to_expected_type(v.clone(), Some(ExpectedReturnType::Boolean)) + .unwrap() + }) .collect(); Ok(Value::Array(array_of_bools)) }