fn generate_rel_update_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        "MATCH".to_string(),
        Property::new(
            "MATCH".to_string(),
            PropertyKind::Input,
            fmt_rel_query_input_name(t, r),
        ),
    );
    props.insert(
        "SET".to_string(),
        Property::new(
            "SET".to_string(),
            PropertyKind::Input,
            fmt_rel_update_mutation_input_name(t, &r),
        )
        .with_required(true),
    );
    NodeType::new(fmt_rel_update_input_name(t, r), TypeKind::Input, props)
}
/// Takes a WG Type and Rel and returns a NodeType representing a GqlRelUpdateInput
///
/// Format:
/// input GqlRelUpdateInput {
///     MATCH: GqlRelQueryInput
///     SET: GqlRelUpdateMutationInput
/// }
///
/// Ex:
/// input ProjectOwnerUpdateInput   {
///     MATCH: ProjectOwnerQueryInput
///     SET: ProjectOwnerUpdateMutationInput
/// }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelUpdateInput
Format:
input GqlRelUpdateInput {
MATCH: GqlRelQueryInput
SET: GqlRelUpdateMutationInput
}


Takes a WG Type and Rel and returns a NodeType representing a GqlRelUpdateInput Format : input GqlRelUpdateInput { MATCH : GqlRelQueryInput SET : GqlRelUpdateMutationInput }
fn generate_rel_update_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        "MATCH".to_string(),
        Property::new(
            "MATCH".to_string(),
            PropertyKind::Input,
            fmt_rel_query_input_name(t, r),
        ),
    );
    props.insert(
        "SET".to_string(),
        Property::new(
            "SET".to_string(),
            PropertyKind::Input,
            fmt_rel_update_mutation_input_name(t, &r),
        )
        .with_required(true),
    );
    NodeType::new(fmt_rel_update_input_name(t, r), TypeKind::Input, props)
}
fn generate_rel_update_input ( t : & Type , r : & Relationship ) -> NodeType { let mut props = HashMap :: new ( ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_query_input_name ( t , r ) , ) , ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_update_mutation_input_name ( t , & r ) , ) . with_required ( true ) , ) ; NodeType :: new ( fmt_rel_update_input_name ( t , r ) , TypeKind :: Input , props ) }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelUpdateInput
Format:
input GqlRelUpdateInput {
MATCH: GqlRelQueryInput
SET: GqlRelUpdateMutationInput
}
Takes a WG Type and Rel and returns a NodeType representing a GqlRelUpdateInput Format : input GqlRelUpdateInput { MATCH : GqlRelQueryInput SET : GqlRelUpdateMutationInput }
t
&Type
r
&Relationship
t
&Type
r
&Relationship