NativeScript / NativeScript/angular
Seems like relativeTo is deprecated please upgrade to new API
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 55
- Forks
- 13
- Ø Merge
- 16 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
Since Angular 15.2.3 I get the following warning message:
The navigation to /selection/add-edit-product/675670/3 will instead go to /selection/tab-select-diary-item/(outlet-0:search-tab//outlet-1:custom-tab//outlet-2:meals-tab//outlet-3:quickly-add-tab) in an upcoming version of Angular. relativeTo might need to be removed from the UrlCreationOptions.
This seems to be related to the following call:
this.router.back({ relativeTo: this.activatedRoute });
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Start with the router.back({ relativeTo: this.activatedRoute }) call described in the issue and compare it with the Angular 15.2.3 navigation warning. Identify the supported API or option change for this navigation, then verify that the warning no longer occurs while navigation to the stated route still works.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100