Closed tqwewe closed 2 years ago
This would be a pretty fundamental change to the router. For fallback routing I was thinking of supporting a much simpler model, where conflicting inserts would return the conflicting value. From there you could handle routing guards, etc. yourself.
That sounds simpler. In my case, we forked matchit and modified it to our needs, so if it's not in the scope of matchit, feel free to close this issue
For something like fall-through routing, it would be useful to return an iterator of values that match the route.
An example might be: