pub fn validate_dynamic_offers<'a>(
    dynamic_children: Vec<(&'a str, &'a str)>,
    dependencies: &mut DirectedGraph<DependencyNode>,
    new_dynamic_offers: &'a [Offer],
    decl: &'a Component,
) -> Result<(), ErrorList>Expand description
Validates a collection of dynamic offers. Dynamic offers differ from static offers, in that
- a dynamic offer’s 
targetfield must be omitted; - a dynamic offer’s 
sourcemay be a dynamic child; - since this crate isn’t really designed to handle dynamic children, we disable the checks that ensure that the source/target exist, and that the offers don’t introduce any cycles.
 
dependencies is an output parameter that captures new dependencies from new_dynamic_offers.
Any existing dependency edges are preserved. The input may be non empty and is normally the
output of the previous validate or validate_dynamic_offers.