fn generate_rel_create_mutation_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        "id".to_string(),
        Property::new("id".to_string(), PropertyKind::Scalar, "ID".to_string())
            .with_required(false),
    );

    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(
        "dst".to_string(),
        Property::new(
            "dst".to_string(),
            PropertyKind::Input,
            fmt_rel_nodes_mutation_input_union_name(t, r),
        )
        .with_required(true),
    );
    NodeType::new(
        fmt_rel_create_mutation_input_name(t, r),
        TypeKind::Input,
        props,
    )
}
/// Takes a WG Type and Rel and returns a NodeType representing a GqlRelCreateMutationInput
///
/// Format:
/// input GqlRelCreateMutationInput {
///     props: <GqlRelPropsInput>
///     dst: <GqlRelNodesMutationInputUnion>
/// }
///
/// Ex:
/// input ProjectOwnerCreateMutationInput  {
///     id: ID
///     props: ProjectOwnerPropsInput
///     dst: ProjectOwnerNodesMutationInputUnion  
/// }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelCreateMutationInput
Format:
input GqlRelCreateMutationInput {
props: 
dst: 
}

input ProjectOwnerCreateMutationInput  {
id: ID
props: ProjectOwnerPropsInput
dst: ProjectOwnerNodesMutationInputUnion
}
Takes a WG Type and Rel and returns a NodeType representing a GqlRelCreateMutationInput Format : input GqlRelCreateMutationInput { props : dst : } input ProjectOwnerCreateMutationInput { id : ID props : ProjectOwnerPropsInput dst : ProjectOwnerNodesMutationInputUnion }
fn generate_rel_create_mutation_input(t: &Type, r: &Relationship) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        "id".to_string(),
        Property::new("id".to_string(), PropertyKind::Scalar, "ID".to_string())
            .with_required(false),
    );
    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(
        "dst".to_string(),
        Property::new(
            "dst".to_string(),
            PropertyKind::Input,
            fmt_rel_nodes_mutation_input_union_name(t, r),
        )
        .with_required(true),
    );
    NodeType::new(
        fmt_rel_create_mutation_input_name(t, r),
        TypeKind::Input,
        props,
    )
}
fn generate_rel_create_mutation_input ( t : & Type , r : & Relationship ) -> NodeType { let mut props = HashMap :: new ( ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Scalar , " " . to_string ( ) ) . with_required ( false ) , ) ; 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_nodes_mutation_input_union_name ( t , r ) , ) . with_required ( true ) , ) ; NodeType :: new ( fmt_rel_create_mutation_input_name ( t , r ) , TypeKind :: Input , props , ) }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelCreateMutationInput
Format:
input GqlRelCreateMutationInput {
props: <GqlRelPropsInput>
dst: <GqlRelNodesMutationInputUnion>
}
Takes a WG Type and Rel and returns a NodeType representing a GqlRelCreateMutationInput Format : input GqlRelCreateMutationInput { props : <GqlRelPropsInput > dst : <GqlRelNodesMutationInputUnion > }
t
&Type
r
&Relationship
t
&Type
r
&Relationship