[Bug] Returning `transitionTo` in a `async beforeModel` hook prevents the app from booting.
Open
bug
Has Reproduction
Routing
- Dominant language
- TypeScript
- Stars
- 22.6k
- Forks
- 4.2k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 15
Description
### 🐞 Describe the Bug
Returning `transitionTo` or `router.transitionTo` in a `async beforeModel` hook prevents the app from booting.
### 🔬 Minimal Reproduction
https://github.com/knownasilya/ember-async-before-model-repro
Also happens with `model`, and `afterModel`. Works fine with `redirect`.
### 🌍 Environment
- Ember: - 3.26 and 3.27
- Node.js/npm: - 12.22.1/yarn 1.22.4
- OS: - macOS (latest)
- Browser: - Chrome (latest)
Contributor guide
Assessment
This issue has not been assessed yet.