haskell-servant / haskell-servant/servant
Dynamic routing
Open
enhancement
help wanted
- Dominant language
- Haskell
- Stars
- 2k
- Forks
- 427
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 5
Description
Is there a way (currently) to build a dynamic route at runtime out of static routes? I'm imagining a simple use case where you want to serve the same API with different URL roots, say `/production/api/...` and `/test/api`. You could parameterize your server on top-level path and server the API from there. But I can't think of a way to dynamically build a route.
Contributor guide
Assessment
This issue has not been assessed yet.