Controller availability in buildRouteInfoMetadata
Open
Routing
- Dominant language
- TypeScript
- Stars
- 22.6k
- Forks
- 4.2k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 15
Description
I spotted an error in our Sentry logs where `this.controller` is not available in `buildRouteInfoMetadata`
We use the hook to gather information about what is on the controller, and then use a Service to monitor route will/did change events, and send the `routeInfo.metadata` to a third party).
If I cannot guarantee that the controller is available in `buildRouteInfoMetadata`, then this pattern will not work any more.
Can the behaviour around this hook be clarified a bit more? (It isn't very well documented)

Contributor guide
Assessment
This issue has not been assessed yet.