Hi, I've just started using http4k, and it looks r...
# http4k
e
Hi, I've just started using http4k, and it looks really great 🙂 Now, I need some help to create a RouteBinder with path parameters in the middle. I have an example RouteBinder that works:
Copy code
val testRoute: RouteBinder<(String) -> HttpHandler> = (
        "/echo" / Path.of("name")
        bindContract GET)
However, what I need is to have a path parameter in the middle, not only at the end:
"/echo" / Path.of("name") / "products" / Path.of("product-id")
, which doesn't work.