NativeScript / NativeScript/angular
Seems like relativeTo is deprecated please upgrade to new API
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- TypeScript
- Estrelas
- 55
- Forks
- 13
- Merge médio
- 16min
- PRs com merge (30d)
- 1
Descrição
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 });
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- angular, typescript
- Domínio
- mobile
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 35/100