Repository navigation
Conversation
f338572 to
da59206
Compare
|
Awesome. I will try to add an integration test for this test case. |
|
@sarunint while writing the tests, I found these weird differences.
Compare:
How can there be any difference in url handling when the module is lazily loaded? Can you verify this? |
|
Hmm, interesting. I will investigate soon. P.S. I make this PR at 4 AM, so it might be sloppy. lol |
|
Awesome. I'll wait for your investigation before finishing the integration tests. |
|
@dirkluijk could you send a PR of those tests to my branch to see which test are failing? |
|
Good catch and thanks for the PR. Please let me know if you need help getting nailing down what's happening here. I would like to get this fixed for the next patch release. |
|
I'll submit integration tests for both lazy and non-lazy loaded modules asap. |
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
55d3dbc to
da59206
Compare
|
CLAs look good, thanks! |
|
@dirkluijk I tried my build with your example, and it works! Could you confirm this? |
d337ee6 to
3fadcdb
Compare
|
@sarunint Your fix works perfect for However, when set to The added tests should cover this case as well. If not, I will take a look at them. |
3fadcdb to
da59206
Compare
|
Oh, I see it now... |
|
Weird, the tests fail when running |
|
@dirkluijk After further observation, I think that the behaviour is correct all along. Let me explain. In v6.1, an option has been added to allow developers to use the correct behaviour of the router ( This PR aims to fix only when using Am I right? |
|
Yeah, there are two issues:
So maybe we should go with just your fix. |
|
By the way, this is the non-lazy version of the bug: https://stackblitz.com/edit/angular-empty-route-non-lazy-v7 And here's with |
|
@jasonaden Should I add some tests so that this will not break again in the future? If that's not needed, I think this is ready for merging. |
ebd49c3 to
5aa5a26
Compare
|
@sarunint Maybe you should squash the commits into a single commit? |
5aa5a26 to
1460f59
Compare
|
CLAs look good, thanks! |
|
@dirkluijk Done |
|
Good work @sarunint. This one should be good to merge. |
1460f59 to
9300706
Compare
9300706 to
b0ba236
Compare
|
Looks good guys! Thanks for this. Running this in against Google codebase now to confirm, then we'll merge. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Close #26983
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
In #22394, a new parameter called
relativeLinkResolutionhad been added torecogizefunction, but due to router refactorisation in #25740, it has been wrapped byrecognizeoperator, which misses this newly added parameter.Issue Number: #26983
What is the new behavior?
The
recognizeoperator now includesrelativeLinkResolutionparameter.Does this PR introduce a breaking change?
Other information