fn generate_rel_update_mutation_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    if !r.props_as_slice().is_empty() {
        props.insert(
            "props".to_string(),
            Property::new(
                "props".to_string(),
                PropertyKind::Input,
                fmt_rel_props_input_name(t, r),
            ),
        );
    }
    props.insert(
        "src".to_string(),
        Property::new(
            "src".to_string(),
            PropertyKind::Input,
            fmt_rel_src_update_mutation_input_name(t, r),
        ),
    );
    props.insert(
        "dst".to_string(),
        Property::new(
            "dst".to_string(),
            PropertyKind::Input,
            fmt_rel_dst_update_mutation_input_name(t, r),
        ),
    );
    NodeType::new(
        fmt_rel_update_mutation_input_name(t, r),
        TypeKind::Input,
        props,
    )
}
/// Takes a WG Type and Rel and returns a NodeType representing a GqlRelUpdateMutationInput
///
/// Format:
/// input GqlRelUpdateMutationInput {
///     props: GqlRelPropsInput
///     src: GqlRelSrcMutationInput
///     dst: GqlRelDstMutationInput
/// }
///
/// Ex:
/// input ProjectOwnerUpdateMutationInput {
///     props: ProjectOwnerPropsInput
///     src: ProjectOwnerSrcUpdateMutationInput
///     dst: ProjectOwnerDstUpdateMutationInput
/// }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelUpdateMutationInput
Format:
input GqlRelUpdateMutationInput {
props: GqlRelPropsInput
src: GqlRelSrcMutationInput
dst: GqlRelDstMutationInput
}


Takes a WG Type and Rel and returns a NodeType representing a GqlRelUpdateMutationInput Format : input GqlRelUpdateMutationInput { props : GqlRelPropsInput src : GqlRelSrcMutationInput dst : GqlRelDstMutationInput }
fn generate_rel_update_mutation_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    if !r.props_as_slice().is_empty() {
        props.insert(
            "props".to_string(),
            Property::new(
                "props".to_string(),
                PropertyKind::Input,
                fmt_rel_props_input_name(t, r),
            ),
        );
    }
    props.insert(
        "src".to_string(),
        Property::new(
            "src".to_string(),
            PropertyKind::Input,
            fmt_rel_src_update_mutation_input_name(t, r),
        ),
    );
    props.insert(
        "dst".to_string(),
        Property::new(
            "dst".to_string(),
            PropertyKind::Input,
            fmt_rel_dst_update_mutation_input_name(t, r),
        ),
    );
    NodeType::new(
        fmt_rel_update_mutation_input_name(t, r),
        TypeKind::Input,
        props,
    )
}
fn generate_rel_update_mutation_input ( t : & Type , r : & Relationship ) -> NodeType { let mut props = HashMap :: new ( ) ; if ! r . props_as_slice ( ) . is_empty ( ) { props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_props_input_name ( t , r ) , ) , ) ; } props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_src_update_mutation_input_name ( t , r ) , ) , ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_rel_dst_update_mutation_input_name ( t , r ) , ) , ) ; NodeType :: new ( fmt_rel_update_mutation_input_name ( t , r ) , TypeKind :: Input , props , ) }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelUpdateMutationInput
Format:
input GqlRelUpdateMutationInput {
props: GqlRelPropsInput
src: GqlRelSrcMutationInput
dst: GqlRelDstMutationInput
}
Takes a WG Type and Rel and returns a NodeType representing a GqlRelUpdateMutationInput Format : input GqlRelUpdateMutationInput { props : GqlRelPropsInput src : GqlRelSrcMutationInput dst : GqlRelDstMutationInput }
t
&Type
r
&Relationship
t
&Type
r
&Relationship