fn generate_node_delete_mutation_input(t: &Type) -> NodeType {
    let mut props = HashMap::new();
    t.rels().for_each(|r| {
        props.insert(
            r.name().to_string(),
            Property::new(
                r.name().to_string(),
                PropertyKind::Input,
                fmt_rel_delete_input_name(t, &r),
            )
            .with_list(r.list()),
        );
    });
    NodeType::new(
        fmt_node_delete_mutation_input_name(t),
        TypeKind::Input,
        props,
    )
}
/// Takes a WG type and returns a NodeType representing a GqlNodeDeleteMutationInput
///
/// Format:
/// input GqlNodeDeleteMutationInput {
///     rel[n]: GqlRelDeleteInput
/// }
///
/// Ex:
/// input ProjectDeleteMutationInput {
///     owner: ProjectOwnerDeleteInput
///     issues: ProjectIssuesDeleteInput
/// }
Takes a WG type and returns a NodeType representing a GqlNodeDeleteMutationInput
Format:
input GqlNodeDeleteMutationInput {
rel[n]: GqlRelDeleteInput
}


Takes a WG type and returns a NodeType representing a GqlNodeDeleteMutationInput Format : input GqlNodeDeleteMutationInput { rel [ n ] : GqlRelDeleteInput }
fn generate_node_delete_mutation_input(t: &Type) -> NodeType {
    let mut props = HashMap::new();
    t.rels().for_each(|r| {
        props.insert(
            r.name().to_string(),
            Property::new(
                r.name().to_string(),
                PropertyKind::Input,
                fmt_rel_delete_input_name(t, &r),
            )
            .with_list(r.list()),
        );
    });
    NodeType::new(
        fmt_node_delete_mutation_input_name(t),
        TypeKind::Input,
        props,
    )
}
fn generate_node_delete_mutation_input ( t : & Type ) -> NodeType { let mut props = HashMap :: new ( ) ; t . rels ( ) . for_each ( | r | { props . insert ( r . name ( ) . to_string ( ) , Property :: new ( r . name ( ) . to_string ( ) , PropertyKind :: Input , fmt_rel_delete_input_name ( t , & r ) , ) . with_list ( r . list ( ) ) , ) ; } ) ; NodeType :: new ( fmt_node_delete_mutation_input_name ( t ) , TypeKind :: Input , props , ) }
Takes a WG type and returns a NodeType representing a GqlNodeDeleteMutationInput
Format:
input GqlNodeDeleteMutationInput {
rel[n]: GqlRelDeleteInput
}
Takes a WG type and returns a NodeType representing a GqlNodeDeleteMutationInput Format : input GqlNodeDeleteMutationInput { rel [ n ] : GqlRelDeleteInput }
t
&Type
t
&Type