fn generate_rel_create_endpoint(t: &Type, r: &Relationship) -> Property {
    let mut arguments = HashMap::new();
    arguments.insert(
        "input".to_string(),
        Argument::new(
            "input".to_string(),
            ArgumentKind::Required,
            fmt_rel_create_input_name(t, r),
        ),
    );
    arguments.insert(
        "partitionKey".to_string(),
        Argument::new(
            "partitionKey".to_string(),
            ArgumentKind::Optional,
            "String".to_string(),
        ),
    );

    Property::new(
        fmt_rel_create_endpoint_name(t, r),
        PropertyKind::RelCreateMutation {
            src_label: fmt_node_object_name(t),
            rel_name: fmt_rel_name(r),
        },
        fmt_rel_object_name(t, r),
    )
    .with_list(true)
    .with_arguments(arguments)
}
/// Takes a WG Type and Rel and returns a NodeType representing a GqlRelCreateEndpoint
///
/// Format:
/// GqlRelCreateEndpoint (input: <GqlRelCreateInput>): <GqlRelObject>
///
/// Ex:
/// ProjectOwnerCreate(input: ProjectOwnerCreateInput): ProjectOwnerRel
Takes a WG Type and Rel and returns a NodeType representing a GqlRelCreateEndpoint
Format:
GqlRelCreateEndpoint (input: ): 


Takes a WG Type and Rel and returns a NodeType representing a GqlRelCreateEndpoint Format : GqlRelCreateEndpoint ( input : ) :
fn generate_rel_create_endpoint(t: &Type, r: &Relationship) -> Property {
    let mut arguments = HashMap::new();
    arguments.insert(
        "input".to_string(),
        Argument::new(
            "input".to_string(),
            ArgumentKind::Required,
            fmt_rel_create_input_name(t, r),
        ),
    );
    arguments.insert(
        "partitionKey".to_string(),
        Argument::new(
            "partitionKey".to_string(),
            ArgumentKind::Optional,
            "String".to_string(),
        ),
    );
    Property::new(
        fmt_rel_create_endpoint_name(t, r),
        PropertyKind::RelCreateMutation {
            src_label: fmt_node_object_name(t),
            rel_name: fmt_rel_name(r),
        },
        fmt_rel_object_name(t, r),
    )
    .with_list(true)
    .with_arguments(arguments)
}
fn generate_rel_create_endpoint ( t : & Type , r : & Relationship ) -> Property { let mut arguments = HashMap :: new ( ) ; arguments . insert ( " " . to_string ( ) , Argument :: new ( " " . to_string ( ) , ArgumentKind :: Required , fmt_rel_create_input_name ( t , r ) , ) , ) ; arguments . insert ( " " . to_string ( ) , Argument :: new ( " " . to_string ( ) , ArgumentKind :: Optional , " " . to_string ( ) , ) , ) ; Property :: new ( fmt_rel_create_endpoint_name ( t , r ) , PropertyKind :: RelCreateMutation { src_label : fmt_node_object_name ( t ) , rel_name : fmt_rel_name ( r ) , } , fmt_rel_object_name ( t , r ) , ) . with_list ( true ) . with_arguments ( arguments ) }
Takes a WG Type and Rel and returns a NodeType representing a GqlRelCreateEndpoint
Format:
GqlRelCreateEndpoint (input: <GqlRelCreateInput>): <GqlRelObject>
Takes a WG Type and Rel and returns a NodeType representing a GqlRelCreateEndpoint Format : GqlRelCreateEndpoint ( input : <GqlRelCreateInput > ) : <GqlRelObject >
t
&Type
r
&Relationship
t
&Type
r
&Relationship