Update `CompiledRoute.resolve` to return a dataclass, not a tuple
Archmonger opened this issue · 0 comments
Archmonger commented
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