Skip to content

fix(angular): make route observables available on constructor #17914

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

Merged
merged 2 commits into from
Apr 1, 2019
Merged

fix(angular): make route observables available on constructor #17914

merged 2 commits into from
Apr 1, 2019

Conversation

daem0ndev
Copy link
Contributor

Short description of what this resolves:

The fix introduced in #17888 also broke certain expectations as observables on ActivatedRoute were no longer available at the constructor but only after ngOnInit, this could cause many breaking changes for users that expect to use the observables as they would in a vanilla angular app.

Changes proposed in this pull request:

  • Create observable proxies upon component construction

Ionic Version: 4.x

Fixes:

@rgolea
Copy link

rgolea commented Mar 31, 2019

You sir, hats off to you my friend!

@mhartington mhartington merged commit 06c3048 into ionic-team:master Apr 1, 2019
kiku-jw pushed a commit to kiku-jw/ionic that referenced this pull request May 16, 2019
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