fn generate_rel_nodes_union(t: &Type, r: &Relationship) -> NodeType {
    let mut nt = NodeType::new(
        fmt_rel_nodes_union_name(t, r),
        TypeKind::Union,
        HashMap::new(),
    );
    nt.union_types = Some(r.nodes().cloned().collect());
    nt
}
/// Takes a WG Type and Rel and returns a NodeType representing a GqlRelNodesUnion
///
/// Format:
/// union GqlRelNodesUnion = <Node[0]> | <Node[1]>
///
/// Ex:
/// union ProjectIssuesNodesUnion = Feature | Bug
Takes a WG Type and Rel and returns a NodeType representing a GqlRelNodesUnion
Format:
union GqlRelNodesUnion =  | 

union ProjectIssuesNodesUnion = Feature | Bug
Takes a WG Type and Rel and returns a NodeType representing a GqlRelNodesUnion Format : union GqlRelNodesUnion = | union ProjectIssuesNodesUnion = Feature | Bug
fn generate_rel_nodes_union(t: &Type, r: &Relationship) -> NodeType {
    let mut nt = NodeType::new(
        fmt_rel_nodes_union_name(t, r),
        TypeKind::Union,
        HashMap::new(),
    );
    nt.union_types = Some(r.nodes().cloned().collect());
    nt
}
fn generate_rel_nodes_union ( t : & Type , r : & Relationship ) -> NodeType { let mut nt = NodeType :: new ( fmt_rel_nodes_union_name ( t , r ) , TypeKind :: Union , HashMap :: new ( ) , ) ; nt . union_types = Some ( r . nodes ( ) . cloned ( ) . collect ( ) ) ; nt }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelNodesUnion
Format:
union GqlRelNodesUnion = <Node[0]> | <Node[1]>
Takes a WG Type and Rel and returns a NodeType representing a GqlRelNodesUnion Format : union GqlRelNodesUnion = <Node [ 0 ] > | <Node [ 1 ] >
t
&Type
r
&Relationship
t
&Type
r
&Relationship