From d502edf20576521f76aa718648d1592609a3d27d Mon Sep 17 00:00:00 2001 From: MicaiahReid Date: Wed, 17 Dec 2025 11:08:31 -0500 Subject: [PATCH] fix(kit): nest array type when converting string to Type --- crates/txtx-addon-kit/src/types/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/txtx-addon-kit/src/types/types.rs b/crates/txtx-addon-kit/src/types/types.rs index 6dd664925..38d047087 100644 --- a/crates/txtx-addon-kit/src/types/types.rs +++ b/crates/txtx-addon-kit/src/types/types.rs @@ -1325,7 +1325,7 @@ impl TryFrom for Type { } else if other.starts_with("array[") && other.ends_with("]") { let mut inner = other.replace("array[", ""); inner = inner.replace("]", ""); - return Type::try_from(inner); + return Ok(Type::array(Type::try_from(inner)?)); } else if other.starts_with("addon(") { let mut inner = other.replace("addon(", ""); inner = inner.replace(")", "");