haskell-servant / haskell-servant/servant

Support using the names from named routes in `servant-foreign`

Open
#1,673 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.