fn generate_rel_change_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        "ADD".to_string(),
        Property::new(
            "ADD".to_string(),
            PropertyKind::Input,
            fmt_rel_create_mutation_input_name(t, r),
        ),
    );
    props.insert(
        "UPDATE".to_string(),
        Property::new(
            "UPDATE".to_string(),
            PropertyKind::Input,
            fmt_rel_update_input_name(t, r),
        ),
    );
    props.insert(
        "DELETE".to_string(),
        Property::new(
            "DELETE".to_string(),
            PropertyKind::Input,
            fmt_rel_delete_input_name(t, r),
        ),
    );
    NodeType::new(fmt_rel_change_input_name(t, r), TypeKind::Input, props)
}
/// Takes a WG Type and Rel and returns a NodeType representing a GqlRelChangeInput
///
/// Format:
/// input GqlRelChangeInput {
///     ADD: GqlRelCreateMutationInput
///     UPDATE: GqlRelUpdateMutationInput
///     DELETE: GqlRelDeleteInput
/// }
///
/// Ex:
/// input ProjectIssuesChangeInput {
///     ADD: ProjectIssuesCreateMutationInput
///     UPDATE: ProjectIssuesUpdateInput
///     DELETE: ProjectIssuesDeleteInput
/// }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelChangeInput
Format:
input GqlRelChangeInput {
ADD: GqlRelCreateMutationInput
UPDATE: GqlRelUpdateMutationInput
DELETE: GqlRelDeleteInput
}


Takes a WG Type and Rel and returns a NodeType representing a GqlRelChangeInput Format : input GqlRelChangeInput { ADD : GqlRelCreateMutationInput UPDATE : GqlRelUpdateMutationInput DELETE : GqlRelDeleteInput }
fn generate_rel_change_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        "ADD".to_string(),
        Property::new(
            "ADD".to_string(),
            PropertyKind::Input,
            fmt_rel_create_mutation_input_name(t, r),
        ),
    );
    props.insert(
        "UPDATE".to_string(),
        Property::new(
            "UPDATE".to_string(),
            PropertyKind::Input,
            fmt_rel_update_input_name(t, r),
        ),
    );
    props.insert(
        "DELETE".to_string(),
        Property::new(
            "DELETE".to_string(),
            PropertyKind::Input,
            fmt_rel_delete_input_name(t, r),
        ),
    );
    NodeType::new(fmt_rel_change_input_name(t, r), TypeKind::Input, props)
}
fn generate_rel_change_input ( t : & Type , r : & Relationship ) -> NodeType { let mut props = HashMap :: new ( ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_create_mutation_input_name ( t , r ) , ) , ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_update_input_name ( t , r ) , ) , ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_delete_input_name ( t , r ) , ) , ) ; NodeType :: new ( fmt_rel_change_input_name ( t , r ) , TypeKind :: Input , props ) }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelChangeInput
Format:
input GqlRelChangeInput {
ADD: GqlRelCreateMutationInput
UPDATE: GqlRelUpdateMutationInput
DELETE: GqlRelDeleteInput
}
Takes a WG Type and Rel and returns a NodeType representing a GqlRelChangeInput Format : input GqlRelChangeInput { ADD : GqlRelCreateMutationInput UPDATE : GqlRelUpdateMutationInput DELETE : GqlRelDeleteInput }
t
&Type
r
&Relationship
t
&Type
r
&Relationship