Open kkriske opened 7 years ago
This issue has been automatically marked as stale because it has not had recent activity.
has this ever been addressed...or just gone stale? I'm interested in the feature
This issue has been automatically marked as stale because it has not had recent activity.
This requires design. It's not clear how it should work, how it should look and what API should it provide.
Any updates on implementation of this feature?
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Is there any news about this feature?
well I did something like this:
routing {
val pathPart = "/{something}"
var pathString = ""
for (i in 1..4) {
pathString += pathPart
get(pathString) {
getCustomResponse(call.request.uri)
}
}
}
and in getCustomResponse I parse uri and return response depends on what we need.
Add support for modifying routes at runtime, possibly in a separate feature so default behaviour is immutable.
possible use cases: