Skip to content

Commit

Permalink
fix: Remove extra apply in generated multiple query parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfpessoa authored and blast-hardcheese committed Jul 7, 2019
1 parent 8883c7a commit 272805e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ object AkkaHttpServerGenerator {
directivesFromParams(
arg => tpe => um => Target.pure(q"parameter(${param(um)(arg)(tpe)})"),
arg => tpe => um => Target.pure(q"parameter(${param(um)(arg)(tpe)}.*)"),
arg => tpe => um => Target.pure(q"parameter(${param(um)(arg)(tpe)}.*).map(xs => Option(xs).filterNot(_.isEmpty)).apply"),
arg => tpe => um => Target.pure(q"parameter(${param(um)(arg)(tpe)}.*).map(xs => Option(xs).filterNot(_.isEmpty))"),
arg => tpe => um => Target.pure(q"parameter(${param(um)(arg)(tpe)}.?)")
) _
}
Expand Down

0 comments on commit 272805e

Please sign in to comment.