From 30baa6d2ca5a9632c16cfa6ddbb245f45716612a Mon Sep 17 00:00:00 2001 From: Dan Moore Date: Thu, 6 May 2021 10:04:32 -0600 Subject: [PATCH] Fixed incorrect mapping for 'char' datatype. Tested with local example. --- src/main/client/_macros.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/client/_macros.ftl b/src/main/client/_macros.ftl index a66b7d36..923ebe51 100644 --- a/src/main/client/_macros.ftl +++ b/src/main/client/_macros.ftl @@ -44,7 +44,7 @@ [#return "nil"/] [#elseif type?starts_with("Collection")] [#return type?replace("Collection", "[]")?replace("UUID", "string")?replace("<", "")?replace(">", "")/] - [#elseif type == "String" || type = "UUID" || type == "ZoneId" || type == "URI" || type == "Locale" || type == "LocalDate"] + [#elseif type == "String" || type = "UUID" || type == "ZoneId" || type == "URI" || type == "Locale" || type == "LocalDate" || type == "char" ] [#return "string"/] [#elseif type == "Object" || type == "D" || type == "T"] [#return "interface{}"/]