keechma 2022-12-29

Is it possible to have controllers depend on a specific instance of a factory controller? when I try, I get an "Invalid controllers" thrown from keechma$next$core$validate_controllers_BANG

And this makes sense, because the factory produce function depends on runtime data which is not available when the normal "singleton" controllers are initialised. but without the dependency on the factory controller, I'm not getting ctrl/derive-state called when the factory controller's state changes

so I was wondering if I was missing a mechanism to specify a dependency on a factory controller