Hi guys, anyone can help me with Locations? I wan...
# ktor
s
Hi guys, anyone can help me with Locations? I want to know if the location support GET parameters if the data class has default parameters. Like this:
@Location("/x/{name}") data class routeX(val name: String, val page: Int = 1, val count: Int = 10
I want to match with:
/x/somename1?page=5
/x/somename2?page=2&count=15
/x/somename3
👌 2