Join Slack
Powered by
in here: <https://ktor.io/servers/features/locatio...
# ktor
n
Nikky
05/07/2020, 10:48 PM
in here:
https://ktor.io/servers/features/locations.html#subroutes
it sounds like it would be possible to define subroutes without using inner classes
You have to create classes referencing to another class annotated with
@Location
it sounds like it just matches any class that has a constructor parameter thats another
@Location
annotated type would do
2
Views
Open in Slack
Previous
Next