Skip to content

Make UrlParams public #3017

Description

@Diggsey
  • I have looked for existing issues (including closed) about this

Feature Request

Make UrlParams public.

Motivation

I want to be able to nest a router under a dynamic path (/:foo) and use a middleware to extract the value of :foo and do something with it. The middleware should then be able to remove foo from the UrlParams so that when it calls Next, the nested router only sees path parameters that it understands.

Proposal

Make UrlParams public.

Alternatives

Provide a hygenic way to nest a router under a dynamic path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions