fn generate_rel_dst_query_input(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,
                //fmt_node_query_input_name(t, r),
                node.to_string() + "QueryInput",
            ),
        );
    });
    NodeType::new(fmt_rel_dst_query_input_name(t, r), TypeKind::Input, props)
}
/// Takes a WG Type and Rel and returns a NodeType representing a GqlRelDstQueryInput
///
/// Format:
/// input GqlRelDstQueryInput {
///     Node[n]: GqlNodeQueryInput
/// }
///  
/// Ex:
/// input ProjectOwnerDstQueryInput  {
///     User: UserQueryInput
/// }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelDstQueryInput
Format:
input GqlRelDstQueryInput {
Node[n]: GqlNodeQueryInput
}


Takes a WG Type and Rel and returns a NodeType representing a GqlRelDstQueryInput Format : input GqlRelDstQueryInput { Node [ n ] : GqlNodeQueryInput }
fn generate_rel_dst_query_input(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,
                //fmt_node_query_input_name(t, r),
                node.to_string() + "QueryInput",
            ),
        );
    });
    NodeType::new(fmt_rel_dst_query_input_name(t, r), TypeKind::Input, props)
}
fn generate_rel_dst_query_input ( 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 , //fmt_node_query_input_name(t, r), node . to_string ( ) + " " , ) , ) ; } ) ; NodeType :: new ( fmt_rel_dst_query_input_name ( t , r ) , TypeKind :: Input , props ) }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelDstQueryInput
Format:
input GqlRelDstQueryInput {
Node[n]: GqlNodeQueryInput
}
Takes a WG Type and Rel and returns a NodeType representing a GqlRelDstQueryInput Format : input GqlRelDstQueryInput { Node [ n ] : GqlNodeQueryInput }
t
&Type
r
&Relationship
t
&Type
r
&Relationship