Skip to main content

resolve_migrated_binding

Function resolve_migrated_binding 

Source
pub fn resolve_migrated_binding(
    configs: &PipelineConfigs,
    binding_id: &str,
    binding: BindingV1,
) -> Result<ResolvedBinding, ResolveError>
Expand description

Resolve a migrated binding’s primary sources (facet + medium) via the binding resolve layer, so the produced binding can be validated against the D6 capability matrix (crate::binding::validate_binding).

Resolves the binding’s own source_facets against the still-loaded gen-2 configs (facets/mediums in the binding-id’s <mem> tier) via resolve_binding; reference mems are not resolved (only primary facets carry capability constraints). This gives the D6 matrix a real, config-derived consumer.