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

Don't use old optional params in routes #917

Merged
merged 2 commits into from
Nov 23, 2016
Merged

Conversation

znck
Copy link
Member

@znck znck commented Nov 20, 2016

Fixes #906
Related #910

@znck
Copy link
Member Author

znck commented Nov 20, 2016

Ping @fnlctrl

@@ -212,7 +212,9 @@ function fillParams (

function getParams (path: string): Array<string> {
Copy link
Member

Choose a reason for hiding this comment

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

Probably should rename it to getRequiredParams to avoid ambiguity,
or maybe remove this function and use inline expression at https://github.com/znck/vue-router/blob/c3ec53191647d5a4dfb7481ea3c4d088f2c6c6d7/src/create-matcher.js#L38

@znck
Copy link
Member Author

znck commented Nov 21, 2016

/ping @fnlctrl

@fnlctrl
Copy link
Member

fnlctrl commented Nov 21, 2016

/ping @yyx990803

@yyx990803 yyx990803 merged commit dfa0b9c into vuejs:dev Nov 23, 2016
@yyx990803
Copy link
Member

Thanks again @znck !

@znck znck deleted the bug-fix-906 branch November 23, 2016 15:05
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.

3 participants