Skip to content

Commit

Permalink
Feature/add route encoder for complext argument passing (#57)
Browse files Browse the repository at this point in the history
* Add RouteEncoder for complex argument handling

* Meet ktlint format
  • Loading branch information
easternkite authored Dec 1, 2024
1 parent bb3cf46 commit 96e3dda
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ internal fun RouteEncoder.encodeFullRoute(fullRoute: String): String {
internal fun RouteEncoder.decodeArgumentValue(value: String): String {
require(value.isNotEmpty()) { "Input value cannot be empty" }
return value.replace(ENCODED_AMPERSAND, "&")
}
}

0 comments on commit 96e3dda

Please sign in to comment.