Skip to content

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

Closed
@Archmonger

Description

@Archmonger

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