Skip to content
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

Store the original registered route path when Router matches #866

Merged
merged 3 commits into from
Jun 22, 2022

Commits on Jun 22, 2022

  1. Store the original registered route path when Router matches

    This is a common feature of other router implementations, sometimes referred
    to as "reverse routing". We don't go the full way in allowing you to do
    `getregisteredroute(r::Router, url)`, but we could do that eventually. For now,
    it's at least very useful to store the registered route that was matched
    during request handling.
    quinnj committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    b394717 View commit details
    Browse the repository at this point in the history
  2. don't overload base methods

    quinnj committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    3347c69 View commit details
    Browse the repository at this point in the history
  3. fix

    quinnj committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    aacfc61 View commit details
    Browse the repository at this point in the history