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 mutate route configs provided by the user #22358

Closed
wants to merge 2 commits into from

Conversation

jasonaden
Copy link
Contributor

Previously we mutated route configs provided by the user. This can break Universal as it expects it's objects to never be mutated.

Fixes #22203

@mary-poppins
Copy link

You can preview b1955b1 at https://pr22358-b1955b1.ngbuilds.io/.

@jasonaden jasonaden added type: bug/fix area: router target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Feb 22, 2018
vicb pushed a commit that referenced this pull request Feb 22, 2018
@vicb vicb closed this in 45eff4c Feb 22, 2018
smdunn pushed a commit to smdunn/angular that referenced this pull request Feb 28, 2018
This was referenced Mar 15, 2018
leo6104 pushed a commit to leo6104/angular that referenced this pull request Mar 25, 2018
jmleoni pushed a commit to jmleoni/angular that referenced this pull request Oct 6, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: router cla: yes target: patch This PR is targeted for the next patch release type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Router should not mutate Route config objects because it causes issue with platform-server
4 participants