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

fix(router-plugin): "includeHash" must be truthy requesting path #1265

Merged
merged 1 commit into from Aug 26, 2019

Conversation

arturovt
Copy link
Member

@arturovt arturovt commented Aug 23, 2019

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #1257

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@markwhitfeld @splincode FYI

true argument is includeHash. It is false by default, so location.hash is not included. Setting includeHash to true will also include location.hash.

I understand that this piece of code is pesky. I am thinking on the workarounds for v4.

@arturovt arturovt added this to the vNext milestone Aug 23, 2019
Copy link
Member

@markwhitfeld markwhitfeld left a comment

Choose a reason for hiding this comment

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

Is there a way to do a test for this?
Were you able to simulate the scenario in an app?

@arturovt
Copy link
Member Author

Is there a way to do a test for this?
Were you able to simulate the scenario in an app?

Yes, sure. I always debug router issues in real apps.

@arturovt
Copy link
Member Author

Is there a way to do a test for this?
Were you able to simulate the scenario in an app?

Yes, sure. I always debug router issues in real apps.

Yes, we can test it. There is an opened PR regarding E2E tests awaiting your approval 😉

@markwhitfeld markwhitfeld merged commit 9b040f0 into master Aug 26, 2019
@markwhitfeld markwhitfeld deleted the fix/issue-1257 branch August 26, 2019 17:58
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.

None yet

3 participants