Road Map To Release
follow @ericwooley for updates
Recursive Add Users List
Graphql Mutation Source
mutation addUsersFromList($users: [UserInput]!) {
addUsers(users: $users) {
id
}
}
query users {
allUsers {
id
}
}
Options
Generated Form
Form Result
Submit the form to see the result
Recursive Add User From Object
Graphql Mutation Source
mutation addUserFromObject($user: UserInput!) {
addUser(user: $user) {
id
}
}
Options
Generated Form
Form Result
Submit the form to see the result
Graphql Schema
type User {
id: Int!
name: String!
password: String
email: String!
friends: [User]!
}
input UserInput {
id: Int
name: String!
email: String!
password: String
mother: UserInput
father: UserInput
friends: [UserInput]!
followers: [UserInput]
}
type QueryRoot {
allUsers: [User]!
userById(id: Int!): User
# Generates a new answer for the guessing game
answer: [Int!]!
}
type MutationRoot {
addUsers(users: [UserInput]!): [User]
addUser(user: UserInput!): User
}
type SubscriptionRoot {
newUser: User
}
schema {
query: QueryRoot
subscription: SubscriptionRoot
mutation: MutationRoot
}