Skip to content

Conversation

@AdamSLevy
Copy link
Contributor

Path matches still take priority, but ties are broken with the number of
additional matching criteria.

fix #32

Path matches still take priority, but ties are broken with the number of
additional matching criteria.
Copy link
Member

@mna mna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the intention makes sense, but could you add tests that verify the correct behaviour, including the edge cases (same path length, same number of criteria)?

Co-Authored-By: Martin Angers <martin.n.angers@gmail.com>
@AdamSLevy
Copy link
Contributor Author

Sense you like the change I'll add a few tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mux does not prioritize most specific matching Handler

2 participants