Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Add mutation in GraphiQL
Browse files Browse the repository at this point in the history
mutation {
  addUser(firstName: "Anthony", age: 25) {
    id
    firstName
    age
  }
}
  • Loading branch information
sicktastic committed Nov 3, 2017
1 parent 436fe38 commit 5563b20
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions graphql/db.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
{
"firstName": "Anthony",
"age": 26,
"id": "yOTVhLU"
"id": "yOTVhLU",
"companyId": "2"
}
],
"companies": [
Expand All @@ -36,4 +37,4 @@
"description": "search"
}
]
}
}

0 comments on commit 5563b20

Please sign in to comment.