bitkid
04/29/2019, 9:55 PMorangy
routing
is an extension function to Application
, which gets or install a Routing
feature. So inside the second invocation you install routes into root node. authenticate
installs an interceptor and it’s lambda has Route
as a receiver. Remove inner routing
call to make it work.bitkid
04/30/2019, 10:06 AMbitkid
04/30/2019, 10:07 AMbitkid
04/30/2019, 10:07 AMbitkid
04/30/2019, 10:08 AMorangy
Route
instead, so it is a proper routing builder functionbitkid
04/30/2019, 10:39 AMorangy
Route
. Routing
is-a route, so it will work on top level too.