Skip to content

Add canonical name for the route #2968

Closed
@jettify

Description

Long story short

For third party libraries sometimes it is useful to know canonical name of the route from request, for example aio-libs/aiozipkin#115.

Something like /foo/bar/{name:\d+} could be exposed with property: request.match_info.route.canonical_name

Actual behaviour

Steps to reproduce

Your environment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions