Skip to content

Instantly share code, notes, and snippets.

@ifsc01
Last active December 2, 2018 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ifsc01/0396ee445492480960648804fa815d25 to your computer and use it in GitHub Desktop.
Save ifsc01/0396ee445492480960648804fa815d25 to your computer and use it in GitHub Desktop.
{
order(id: 1) {
id
shopId
points
tranNo
}
user(id: 1) {
id
name
phone
isOwner
points
}
users(limit: 10) {
id
phone
name
}
}
{
user(id: 1) {
id
name
phone
isOwner
points
}
}
@ifsc01
Copy link
Author

ifsc01 commented Dec 2, 2018

{
  "data": {
    "user": {
      "id": "1",
      "name": null,
      "phone": "13020097167",
      "isOwner": 1,
      "points": 10184
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment