You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1 for this, in fact it feels like quite a blind spot in Vapor's type safety, the fact that URLs are all produced with string concatenation. Having a URL builder interface to the router, that is validated as much as possible, and then exposed in Leaf templates, would be really nice. Even in a small Vapor application I've wanted this quite a few times.
I'll probably end up writing something for this myself, if it becomes generically applicable then I'll try and contribute it or at least get a gist up somewhere.
Is your feature request related to a problem? Please describe.
I'm currently looking for a way to add my routes in my leaf templates
Describe the solution you'd like
I would like for a way to add routes to leaf templates
Describe alternatives you've considered
thought about hardcoding them but that is too tedious and it doesn't scale very well
Additional context
As an Example here is a Rails
The text was updated successfully, but these errors were encountered: