fn generate_node_update_mutation_input(t: &Type) -> NodeType {
    let mut props = generate_props(t.props_as_slice(), false, false);

    t.rels().for_each(|r| {
        props.insert(
            r.name().to_string(),
            Property::new(
                r.name().to_string(),
                PropertyKind::Input,
                fmt_rel_change_input_name(t, &r),
            )
            .with_list(r.list()),
        );
    });

    NodeType::new(
        fmt_node_update_mutation_input_name(t),
        TypeKind::Input,
        props,
    )
}
/// Takes a WG type and returns a NodeType representing a GqlNodeUpdateMutationInput
///
/// Format:
/// input GqlNodeUpdateMutationInput {
///    field[n]: Scalar
///    rel[n]: GqlRelChangeInput
/// }
///
/// Ex:
/// input ProjectUpdateMutationInput {
///     since: String
///     owner: ProjectOwnerChangeInput
///     issues: ProjectIssuesChangeInput
/// }
Takes a WG type and returns a NodeType representing a GqlNodeUpdateMutationInput
Format:
input GqlNodeUpdateMutationInput {
field[n]: Scalar
rel[n]: GqlRelChangeInput
}

input ProjectUpdateMutationInput {
since: String
owner: ProjectOwnerChangeInput
issues: ProjectIssuesChangeInput
}
Takes a WG type and returns a NodeType representing a GqlNodeUpdateMutationInput Format : input GqlNodeUpdateMutationInput { field [ n ] : Scalar rel [ n ] : GqlRelChangeInput } input ProjectUpdateMutationInput { since : String owner : ProjectOwnerChangeInput issues : ProjectIssuesChangeInput }
fn generate_node_update_mutation_input(t: &Type) -> NodeType {
    let mut props = generate_props(t.props_as_slice(), false, false);
    t.rels().for_each(|r| {
        props.insert(
            r.name().to_string(),
            Property::new(
                r.name().to_string(),
                PropertyKind::Input,
                fmt_rel_change_input_name(t, &r),
            )
            .with_list(r.list()),
        );
    });
    NodeType::new(
        fmt_node_update_mutation_input_name(t),
        TypeKind::Input,
        props,
    )
}
fn generate_node_update_mutation_input ( t : & Type ) -> NodeType { let mut props = generate_props ( t . props_as_slice ( ) , false , false ) ; t . rels ( ) . for_each ( | r | { props . insert ( r . name ( ) . to_string ( ) , Property :: new ( r . name ( ) . to_string ( ) , PropertyKind :: Input , fmt_rel_change_input_name ( t , & r ) , ) . with_list ( r . list ( ) ) , ) ; } ) ; NodeType :: new ( fmt_node_update_mutation_input_name ( t ) , TypeKind :: Input , props , ) }
Takes a WG type and returns a NodeType representing a GqlNodeUpdateMutationInput
Format:
input GqlNodeUpdateMutationInput {
field[n]: Scalar
rel[n]: GqlRelChangeInput
}
Takes a WG type and returns a NodeType representing a GqlNodeUpdateMutationInput Format : input GqlNodeUpdateMutationInput { field [ n ] : Scalar rel [ n ] : GqlRelChangeInput }
t
&Type
t
&Type