Skip to content

Commit

Permalink
Pass boolean literal args as named arg in generated routes files
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Feb 26, 2024
1 parent aacc32b commit fe73187
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ trait PathPart
* @param encode Whether this part should be encoded or not.
*/
case class DynamicPart(name: String, constraint: String, encode: Boolean) extends PathPart with Positional {
override def toString = """DynamicPart("""" + name + "\", \"\"\"" + constraint + "\"\"\"," + encode + ")" // "
override def toString =
"""DynamicPart("""" + name + "\", \"\"\"" + constraint + "\"\"\", encodeable=" + encode + ")" // "
}

/**
Expand Down

0 comments on commit fe73187

Please sign in to comment.