Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update CompiledRoute.resolve to return a dataclass, not a tuple #38

Copy link
Copy link
Closed
@Archmonger

Description

@Archmonger
Issue body actions

Current Situation

CompiledRoute.resolve currently returns a tuple, but we should rewrite it in a more robust way.

Proposed Actions

Utilize a dataclass instead of a tuple. This could potentially be named MatchedRoute.

This dataclass should contain the following attributes: element, parameters, path.

Related issue: #35

Metadata

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.