From 0ebe88a470116ed3929e6e0df97b25dd2d9318da Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 27 May 2024 22:59:11 +0200 Subject: [PATCH] feat: allow arrays Signed-off-by: kjuulh --- cuddle/src/model.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cuddle/src/model.rs b/cuddle/src/model.rs index a27d5e6..f324a61 100644 --- a/cuddle/src/model.rs +++ b/cuddle/src/model.rs @@ -98,6 +98,7 @@ impl From for Vec { pub enum CuddlePlanVar { Str(String), Nested(HashMap), + Array(Vec), } #[derive(Clone, Debug, PartialEq)] @@ -120,6 +121,7 @@ impl From> for CuddleVariables { variables.append(&mut combined_variables); } + CuddlePlanVar::Array(_) => {} } }