@RouterObject var authRouter: NavigationRouter<AuthCoordinatorType>?
AuthCoordinator have been init and router stored but when I use authRouter, it is nil
protocol AuthCoordinatorType: AnyObject {}
final class AuthCoordinator: AuthCoordinatorType, NavigationCoordinatable {
lazy var routerStorable: AuthCoordinatorType = self
...
}
I checked on func func retrieve<T: Routable>() -> T? in class RouterStore
Stored router have type NavigationRouter<AuthCoordinator> can't cast to NavigationRouter<AuthCoordinatorType>
@RouterObject var authRouter: NavigationRouter<AuthCoordinatorType>?
AuthCoordinator have been init and router stored but when I use authRouter, it is nilI checked on func
func retrieve<T: Routable>() -> T?
in classRouterStore
Stored router have typeNavigationRouter<AuthCoordinator>
can't cast toNavigationRouter<AuthCoordinatorType>