also, i know you can do ``` val spec = "/organiza...
# http4k
n
also, i know you can do
Copy code
val spec = "/organization" / Path.of("id") meta {
but i can’t seem to be able to do:
Copy code
val spec = "/organization" / Path.of("id") / "/workspaces" meta {
Is there a different way to do that?
d
@Nezteb for this second question, you are missing a parameter to your function. "Workspaces" will add a (dead) parameter of type string to the extracted parts. Also you have an extra leading slash there
n
Sweet, I’ll take a look at that. Thanks Dave!