fn generate_rel_nodes_mutation_input_union(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    r.nodes().for_each(|node| {
        props.insert(
            node.to_string(),
            Property::new(
                node.to_string(),
                PropertyKind::Input,
                node.to_string() + "Input",
            ),
        );
    });
    NodeType::new(
        fmt_rel_nodes_mutation_input_union_name(t, r),
        TypeKind::Input,
        props,
    )
}
/// Takes a WG Type and Rel and returns a NodeType representing a GqlRelNodesMutationInput
///
/// Format:
/// input GqlRelNodesMutationInputUnion {
///     <Node[n]>: <GqlNodeInput>
/// }
///
/// Ex:
/// input ProjectOwnerNodesMutationInputUnion  {
///     User: UserInput
/// }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelNodesMutationInput
Format:
input GqlRelNodesMutationInputUnion {
: 
}


Takes a WG Type and Rel and returns a NodeType representing a GqlRelNodesMutationInput Format : input GqlRelNodesMutationInputUnion { : }
fn generate_rel_nodes_mutation_input_union(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    r.nodes().for_each(|node| {
        props.insert(
            node.to_string(),
            Property::new(
                node.to_string(),
                PropertyKind::Input,
                node.to_string() + "Input",
            ),
        );
    });
    NodeType::new(
        fmt_rel_nodes_mutation_input_union_name(t, r),
        TypeKind::Input,
        props,
    )
}
fn generate_rel_nodes_mutation_input_union ( t : & Type , r : & Relationship ) -> NodeType { let mut props = HashMap :: new ( ) ; r . nodes ( ) . for_each ( | node | { props . insert ( node . to_string ( ) , Property :: new ( node . to_string ( ) , PropertyKind :: Input , node . to_string ( ) + " " , ) , ) ; } ) ; NodeType :: new ( fmt_rel_nodes_mutation_input_union_name ( t , r ) , TypeKind :: Input , props , ) }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelNodesMutationInput
Format:
input GqlRelNodesMutationInputUnion {
<Node[n]>: <GqlNodeInput>
}
Takes a WG Type and Rel and returns a NodeType representing a GqlRelNodesMutationInput Format : input GqlRelNodesMutationInputUnion { <Node [ n ] > : <GqlNodeInput > }
t
&Type
r
&Relationship
t
&Type
r
&Relationship