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

scala-finch.queryParamOperation.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
    {{#isQueryParam}}
      {{#collectionFormat}}val {{paramName}}String = params.getAs[String]("{{paramName}}")
      val {{paramName}} = if("{{collectionFormat}}".equals("default")) {
        {{paramName}}String match {
          case Some(str) => str.split(",")
          case None => List()
        }
      }
      else
        List()
      {{/collectionFormat}}
      {{^collectionFormat}}val {{paramName}} = params.getAs[{{dataType}}]("{{paramName}}"){{/collectionFormat}}
    {{/isQueryParam}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy