Skip to content

test(angular): fixing over-import of RouterModule in the standalone router-link test#30285

Merged
ShaneK merged 2 commits intomainfrom
FW-6261
Mar 20, 2025
Merged

test(angular): fixing over-import of RouterModule in the standalone router-link test#30285
ShaneK merged 2 commits intomainfrom
FW-6261

Conversation

@ShaneK
Copy link
Member

@ShaneK ShaneK commented Mar 20, 2025

Issue number: resolves internal


What is the current behavior?

Currently the standalone test app for router-link in Angular imports all of RouterModule when it only needs to import RouterLink from @angular/router

What is the new behavior?

Now, the Angular test app will import only what it needs from router instead of over-importing.

Does this introduce a breaking change?

  • Yes
  • No

Other information

This PR helps align our Angular test apps with a more real-world implementation expectation

@ShaneK ShaneK requested a review from a team as a code owner March 20, 2025 17:00
@ShaneK ShaneK requested a review from thetaPC March 20, 2025 17:00
@vercel
Copy link

vercel bot commented Mar 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2025 5:02pm

Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

LGTM

@thetaPC thetaPC requested a review from brandyscarney March 20, 2025 18:45
@ShaneK ShaneK added this pull request to the merge queue Mar 20, 2025
Merged via the queue into main with commit 9e11fcb Mar 20, 2025
50 checks passed
@ShaneK ShaneK deleted the FW-6261 branch March 20, 2025 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants