All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elm.paramToString.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{{#lambda.removeWhitespace}}
{{#isArray}}(String.join "," << List.map {{#isEnum}}stringFrom{{#datatypeWithEnum}}{{datatypeWithEnum}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{dataType}}{{/datatypeWithEnum}}{{/isEnum}}{{^isEnum}} {{#items}}{{>paramToString}}{{/items}}{{/isEnum}}){{/isArray}}
{{^isArray}}
{{^isEnum}}
{{^isUuid}}
{{#isString}}identity{{/isString}}
{{#isBinary}}identity{{/isBinary}}
{{#isByteArray}}identity{{/isByteArray}}
{{/isUuid}}
{{/isEnum}}
{{#isBoolean}}(\val -> if val then "true" else "false"){{/isBoolean}}
{{#isDateTime}}Api.Time.dateTimeToString{{/isDateTime}}
{{#isDate}}Api.Time.dateToString{{/isDate}}
{{#isInteger}}String.fromInt{{/isInteger}}
{{#isLong}}String.fromInt{{/isLong}}
{{#isNumber}}String.fromFloat{{/isNumber}}
{{#isFloat}}String.fromFloat{{/isFloat}}
{{#isDouble}}String.fromFloat{{/isDouble}}
{{#allowableValues}}{{^isEnum}}Api.Data.{{/isEnum}}stringFrom{{#datatypeWithEnum}}{{datatypeWithEnum}}{{/datatypeWithEnum}}{{^datatypeWithEnum}}{{dataType}}{{/datatypeWithEnum}}{{/allowableValues}}
{{#isUuid}}Uuid.toString{{/isUuid}}
{{/isArray}}
{{/lambda.removeWhitespace}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy