Skip to main content

composed_in_bundle_root

Function composed_in_bundle_root 

Source
pub fn composed_in_bundle_root(table: &UnitTable) -> bool
Expand description

Whether a bundle’s composition root builds this context: composeApp makes a deps object only to feed a context’s __makeSurface, so a context with no services (agents, capabilities or providers only) is left to the host. Shared by the driver’s emit_composition_root and phase_unprovided_capabilities, so the check refuses exactly the contexts the root builds.