fn generate_node_input(t: &Type) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        "EXISTING".to_string(),
        Property::new(
            "EXISTING".to_string(),
            PropertyKind::Input,
            fmt_node_query_input_name(t),
        ),
    );
    props.insert(
        "NEW".to_string(),
        Property::new(
            "NEW".to_string(),
            PropertyKind::Input,
            fmt_node_create_mutation_input_name(t),
        ),
    );
    NodeType::new(fmt_node_input_name(t), TypeKind::Input, props)
}
/// Takes a WG type and returns the name of the corresponding GqlNodeInput
///
/// Format:
/// input GqlNodeInput {
///    EXISTING: GqlNodeQueryInput
///    NEW: GqlNodeCreateMutationInput
/// }
///
/// Ex:
/// input ProjectInput {
///     EXISTING: ProjectQueryInput
///     NEW: ProjectMutationInput
/// }
Takes a WG type and returns the name of the corresponding GqlNodeInput
Format:
input GqlNodeInput {
EXISTING: GqlNodeQueryInput
NEW: GqlNodeCreateMutationInput
}


Takes a WG type and returns the name of the corresponding GqlNodeInput Format : input GqlNodeInput { EXISTING : GqlNodeQueryInput NEW : GqlNodeCreateMutationInput }
fn generate_node_input(t: &Type) -> NodeType {
    let mut props = HashMap::new();
    props.insert(
        "EXISTING".to_string(),
        Property::new(
            "EXISTING".to_string(),
            PropertyKind::Input,
            fmt_node_query_input_name(t),
        ),
    );
    props.insert(
        "NEW".to_string(),
        Property::new(
            "NEW".to_string(),
            PropertyKind::Input,
            fmt_node_create_mutation_input_name(t),
        ),
    );
    NodeType::new(fmt_node_input_name(t), TypeKind::Input, props)
}
fn generate_node_input ( t : & Type ) -> NodeType { let mut props = HashMap :: new ( ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_node_query_input_name ( t ) , ) , ) ; props . insert ( " " . to_string ( ) , Property :: new ( " " . to_string ( ) , PropertyKind :: Input , fmt_node_create_mutation_input_name ( t ) , ) , ) ; NodeType :: new ( fmt_node_input_name ( t ) , TypeKind :: Input , props ) }
Takes a WG type and returns the name of the corresponding GqlNodeInput
Format:
input GqlNodeInput {
EXISTING: GqlNodeQueryInput
NEW: GqlNodeCreateMutationInput
}
Takes a WG type and returns the name of the corresponding GqlNodeInput Format : input GqlNodeInput { EXISTING : GqlNodeQueryInput NEW : GqlNodeCreateMutationInput }
t
&Type
t
&Type