Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

Using currentNavigation might not work in all cases as this will be null when the navigate has already completed.

@alan-agius4 alan-agius4 requested a review from atscott October 16, 2025 17:26
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Oct 16, 2025
@alan-agius4 alan-agius4 force-pushed the refactor-replace-logic-to-determine branch from c88a115 to a74d324 Compare October 16, 2025 17:28
@alan-agius4 alan-agius4 force-pushed the refactor-replace-logic-to-determine branch 3 times, most recently from a34918f to 3ec8ec3 Compare October 16, 2025 17:47
@alan-agius4 alan-agius4 force-pushed the refactor-replace-logic-to-determine branch from 3ec8ec3 to 121dd1e Compare October 16, 2025 18:08
@alan-agius4 alan-agius4 requested a review from atscott October 16, 2025 18:09
@alan-agius4 alan-agius4 force-pushed the refactor-replace-logic-to-determine branch from 121dd1e to ece6f86 Compare October 16, 2025 18:11
Copy link
Contributor

@atscott atscott left a comment

Choose a reason for hiding this comment

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

Hope this works! 🤞 The URL construction part always confuses me...

@alan-agius4 alan-agius4 force-pushed the refactor-replace-logic-to-determine branch 2 times, most recently from e39c6a7 to f04ff8d Compare October 16, 2025 18:20
@alan-agius4
Copy link
Collaborator Author

@atscott, the unit tests says it works :) thanks for this.

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer action: merge The PR is ready for merge by the caretaker labels Oct 16, 2025
@alan-agius4
Copy link
Collaborator Author

Looks like the last change causes some E2Es to fail. I’ll take a look tomorrow.

@alan-agius4 alan-agius4 force-pushed the refactor-replace-logic-to-determine branch from f04ff8d to 00060d3 Compare October 17, 2025 07:31
Using `currentNavigation` might not work in all cases as this will be null when the navigate has already completed.
@alan-agius4 alan-agius4 force-pushed the refactor-replace-logic-to-determine branch from 00060d3 to 9d19533 Compare October 17, 2025 07:39
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Oct 17, 2025
@alan-agius4 alan-agius4 merged commit 44d9539 into angular:main Oct 17, 2025
31 checks passed
@alan-agius4 alan-agius4 deleted the refactor-replace-logic-to-determine branch October 17, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/ssr target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants