Skip to content

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

Merged
mhartington merged 2 commits intoionic-team:masterfrom
daem0ndev:fix-angular-activated-route
Apr 1, 2019
Merged

fix(angular): make route observables available on constructor#17914
mhartington merged 2 commits intoionic-team:masterfrom
daem0ndev:fix-angular-activated-route

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
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