Maintaining slugs when grouping
If I group my API into two apps, and then mount one of the groups into a path that contains a slug, how can I use that slug in the app?
For example, here, how would I use
thisSlugHere
in booksApp
?
4 Replies
parameters are defined in hono with a colon, as you did w ID:
/:thisSlugHere
oh shoot, yes, i meant
:thisSlugHere
afaik, they can't be applied to an entire route like that, though you might be able to do something w
basePath
ah ok, i see
ty!