Seems like relativeTo is deprecated please upgrade to new API

オープン
#111 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
angular, typescript
領域
mobile

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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 });

主要言語
TypeScript
スター
55
フォーク
13
平均マージ
16分
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NativeScript/angular のほかの issue

NativeScript/angular の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。