File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
templates/cli/lib/type-generation/languages Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ public class <%= toPascalCase(collection.name) %>
122122 } else if (attribute.type === ' double' ) {
123123 -%><% - ! attribute.required ? ' map["' + attribute.key + ' "] == null ? null : ' : ' ' %> Convert.ToDouble(map["<% - attribute.key %> "])<%
124124 } else if (attribute.type === ' boolean' ) {
125- -%> (<% - getType(attribute, collections) %> )map["<% - attribute.key %> "]<%
125+ -%> (<% - getType(attribute, collections, collection.name ) %> )map["<% - attribute.key %> "]<%
126126 } else if (attribute.type === ' string' || attribute.type === ' datetime' || attribute.type === ' email' ) {
127127 -%> map["<% - attribute.key %> "]<% - ! attribute.required ? ' ?' : ' ' %> .ToString()<% - attribute.required ? ' !' : ' ' %><%
128128 } else {
You can’t perform that action at this time.
0 commit comments