https://kotlinlang.org logo
#http4k
Title
# http4k
m

Marc

03/18/2022, 1:49 PM
TokenID.path is the lens, all functions take a token id
d

dave

03/18/2022, 3:26 PM
wrong slack? 🙂
m

Marc

03/18/2022, 3:49 PM
no, im trying to configure routes in http4k bease in contracts instead of plan routes(...)
isn't this the slack for http4k? 🤔
d

dave

03/18/2022, 3:51 PM
ah - sorry - my mistake. I didn't spot it 😂
😅 1
anyway the fact remains that you can't share the dynamic parts of the routes because of how the API is designed.
m

Marc

03/18/2022, 3:53 PM
ah okay, then it's not that i missed something
not a huge deal to repeat in 4 or 5 endpoints but the router() composability seemed so great i wondered if something like this was possible in the contract api
thanks!