haskell-servant / haskell-servant/servant
Support using the names from named routes in `servant-foreign`
Open
- Dominant language
- Haskell
- Stars
- 2k
- Forks
- 427
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 5
Description
In many code generators one derives the name of the routes from their structure, such as `getUsersByIdByGroup` or something like that. It would be interesting if `servant-foreign` supported using the names coming from the routes when they are written as records when using `NamedRoutes`. That would allow for generated code that is easier to read and use.
For those who know the code, how big of a change would this be? Is there a precise point in the code where this name is chosen?
Contributor guide
Assessment
This issue has not been assessed yet.