-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can a SubRouteF concept work? #220
Comments
Hi, A subRoute is just a common url stub for a collection of routes with the same prefix eg If you want to have a |
I see, that makes sense. The issue is really down to how I structure my app. Overall I'm attempting to get saturn's forward to work like it's getf. I'll create an issue there and see if I can figure out to work it. |
If you are parsing the argument directly after api, instead of having more child routes that you probably do not want to use the "forward" but instead, just a plain |
In #223 someone had actually a valid use case for |
Thanks! I was getting no where trying to add it in saturn. |
Do you have a roadmap for when the next version is released? |
I am aiming for some point this week! |
I found my self in a situation using saturnframwork where I needed to "forward" to a url such as "/api/%i"
I started to add forwardf to saturn by looking at how forward was implemented and realized it ultimately called subRoute.
I couldn't find an existing subRouteF functions and I attempted to add it my self (by seeing how subroute and route/routef work) but I really have no idea what I'm doing.
Is this even possible in how giraffe works?
The text was updated successfully, but these errors were encountered: