This is pretty basic, but I can't figure it out. I...
# ktor
e
This is pretty basic, but I can't figure it out. In my routing I declared
get("/joinGame/{gameId}")
but things like
/joinGame/12345
apparently don't match. I tried debugging by tracing the route
Copy code
2020-02-22 16:40:32.990 [nioEventLoopGroup-4-2] TRACE Application - Trace for [joinGame, gsfdg]
/, segment:0 -> SUCCESS; Parameters [gameId=[gsfdg]] @ /joinGame/{gameId}/(method:GET))
  /ttt, segment:0 -> FAILURE "Selector didn't match" @ /ttt)
  /newGame, segment:0 -> FAILURE "Selector didn't match" @ /newGame)
  /joinGame, segment:1 -> SUCCESS; Parameters [gameId=[gsfdg]] @ /joinGame/{gameId}/(method:GET))
    /joinGame/{gameId}, segment:2 -> SUCCESS @ /joinGame/{gameId}/(method:GET))
      /joinGame/{gameId}/(method:GET), segment:2 -> SUCCESS @ /joinGame/{gameId}/(method:GET))
  /(method:GET), segment:0 -> FAILURE "Lost in ambiguity tie" @ /(method:GET))
  /app.js, segment:0 -> FAILURE "Selector didn't match" @ /app.js)

2020-02-22 16:40:33.004 [nioEventLoopGroup-4-2] INFO  Application - Unhandled: GET - /joinGame/gsfdg
For me, it looks like it was successfully matched besides the next line telling me it wasn't.