pellet
pellet copied to clipboard
Think about building route paths with variables using a string
If users have a large number of routes, it can be helpful to see route paths as a single string. For example: /v1/{id:uuid}/hello.
The challenge is that the route path becomes "stringly typed". This tradeoff might be worth it for some people - but investigate if it's possible to produce compilation errors instead of runtime errors for string-based route path building.
See also: https://www.reddit.com/r/Kotlin/comments/ulcama/comment/i7w69g8/?utm_source=share&utm_medium=web2x&context=3