Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-1380 versioned route matching should not throw TypeError #1381

Merged
merged 5 commits into from Jul 28, 2017

Conversation

kusor
Copy link
Contributor

@kusor kusor commented Jun 23, 2017

Issues

Closes:

Changes

Avoid exceptions being thrown when we have two routes applicable to the same request, one typed and the other versioned and not typed.

@retrohacker retrohacker self-requested a review June 23, 2017 16:53
Copy link
Member

@retrohacker retrohacker left a comment

Choose a reason for hiding this comment

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

This LGTM 👍 we need to provide a default value for maxV, and the first encountered semver range seems to be the best default. Alternatively I could see us using 0.0.0 but I don't know if that is strictly the "lowest" semver value possible.

Thank you @kusor for providing tests 😄

@retrohacker
Copy link
Member

Merging at EOD 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants