-
Notifications
You must be signed in to change notification settings - Fork 392
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
Expose Promise result of the Angular navigation in RoutingService #12789
Comments
This was referenced Jun 15, 2021
Platonn
added a commit
that referenced
this issue
Jun 17, 2021
Platonn
added a commit
that referenced
this issue
Jun 17, 2021
Platonn
added a commit
that referenced
this issue
Jun 18, 2021
Platonn
added a commit
that referenced
this issue
Jun 18, 2021
Matejk00
added a commit
that referenced
this issue
Jun 22, 2021
Platonn
added a commit
that referenced
this issue
Jun 22, 2021
Platonn
added a commit
that referenced
this issue
Jun 22, 2021
…ce (#12795) Exposed Promise result of the Angular navigation in methods of the `RoutingService`: `go()` and `goByUrl()`. Now Angular Router is called directly from the `RoutingService`, but not from ngrx effects anymore. Dropped the effects as well as the actions triggering them. Added migration docs and schematics for the breaking changes. By the way, added the missing param `NavigationExtras` in `RoutingService.goByUrl`. BREAKING CHANGES The following ngrx actions have been removed: - `RoutingActions.RouteGo` (and `RoutingActions.ROUTER_GO`) - `RoutingActions.RouteGoByUrlAction` (and `RoutingActions.ROUTER_GO_BY_URL`) - `RoutingActions.RouteBackAction` (and `RoutingActions.ROUTER_BACK`) - `RoutingActions.RouteForwardAction` (and `RoutingActions.ROUTER_FORWARD`). Please use instead the methods of the `RoutingService`, respectively: `go()`, `goByUrl()`, `back()`, `forward()`. closes #12789
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let's expose the Promise result of the Angular router.naviagte() via our RoutingService.go return value.
So we need to move out the router logic from router ngrx effect directly to the RoutingService.
This is a slight breaking change so will require migration docs. But no additional schematics needed
The text was updated successfully, but these errors were encountered: