-
Notifications
You must be signed in to change notification settings - Fork 134
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
Get matched route in ActionM using capture
#266
Labels
Comments
It's not possible in the current state of things. As the original pattern is turned into a WAI middleware, see : Lines 86 to 108 in dc66aa0
It should be possible to add the orignal pattern to What do you think @ocramz ? This could be a nice new feature, I could see myself using it for logging and metrics metadata |
Agreed this would be nice to have ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
regex
to match a route, I am able to later retrieve matched path withparam "0"
, as in example described here:https://hackage.haskell.org/package/scotty-0.12/docs/Web-Scotty.html#v:regex
Can this be done if I match a route using
capture
?The text was updated successfully, but these errors were encountered: