Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateUserType = graphql.NewInputObject( graphql.InputObjectConfig{ Name: "createUserInput", Fields: graphql.InputObjectConfigFieldMap{ "name": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "lastname": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "surname": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "email": &graphql.InputObjectFieldConfig{ Type: graphql.NewNonNull(graphql.String), }, "password": &graphql.InputObjectFieldConfig{ Type: graphql.NewNonNull(graphql.String), }, "phone": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, }, )
View Source
var DeleteUserType = graphql.NewObject( graphql.ObjectConfig{ Name: "DeleteUserOutput", Description: "User information", Fields: graphql.Fields{ "id": &graphql.Field{ Type: graphql.Int, }, }, }, )
View Source
var UpdateUserType = graphql.NewInputObject( graphql.InputObjectConfig{ Name: "UserInput", Fields: graphql.InputObjectConfigFieldMap{ "name": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "lastname": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "surname": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "email": &graphql.InputObjectFieldConfig{ Type: graphql.NewNonNull(graphql.String), }, "phone": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, }, )
View Source
var UserType = graphql.NewObject( graphql.ObjectConfig{ Name: "UserOutput", Description: "User information", Fields: field.UserField, }, )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.