fn generate_rel_src_query_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        t.name().to_string(),
        Property::new(
            t.name().to_string(),
            PropertyKind::Input,
            t.name().to_string() + "QueryInput",
        ),
    );
    NodeType::new(fmt_rel_src_query_input_name(t, r), TypeKind::Input, props)
}
/// Takes a WG Type and Rel and returns a NodeType representing a GqlRelSrcQueryInput
///
/// Format:
/// input GqlRelSrcQueryInput {
///     Node[n]: GqlNodeQueryInput
/// }
///  
/// Ex:
/// input ProjectOwnerSrcQueryInput  {
///     Project: ProjectQueryInput
/// }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelSrcQueryInput
Format:
input GqlRelSrcQueryInput {
Node[n]: GqlNodeQueryInput
}


Takes a WG Type and Rel and returns a NodeType representing a GqlRelSrcQueryInput Format : input GqlRelSrcQueryInput { Node [ n ] : GqlNodeQueryInput }
fn generate_rel_src_query_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        t.name().to_string(),
        Property::new(
            t.name().to_string(),
            PropertyKind::Input,
            t.name().to_string() + "QueryInput",
        ),
    );
    NodeType::new(fmt_rel_src_query_input_name(t, r), TypeKind::Input, props)
}
fn generate_rel_src_query_input ( t : & Type , r : & Relationship ) -> NodeType { let mut props = HashMap :: new ( ) ; props . insert ( t . name ( ) . to_string ( ) , Property :: new ( t . name ( ) . to_string ( ) , PropertyKind :: Input , t . name ( ) . to_string ( ) + " " , ) , ) ; NodeType :: new ( fmt_rel_src_query_input_name ( t , r ) , TypeKind :: Input , props ) }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelSrcQueryInput
Format:
input GqlRelSrcQueryInput {
Node[n]: GqlNodeQueryInput
}
Takes a WG Type and Rel and returns a NodeType representing a GqlRelSrcQueryInput Format : input GqlRelSrcQueryInput { Node [ n ] : GqlNodeQueryInput }
t
&Type
r
&Relationship
t
&Type
r
&Relationship