2019-07-29 01:49:48 -04:00
|
|
|
# http://localhost:8080/
|
2019-07-29 01:13:33 -04:00
|
|
|
|
2019-09-06 00:34:23 -04:00
|
|
|
variables {
|
|
|
|
"update": {
|
|
|
|
"name": "Hellooooo",
|
|
|
|
"description": "World",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
},
|
|
|
|
"user": 123
|
2019-07-29 01:13:33 -04:00
|
|
|
}
|
|
|
|
|
2019-09-06 00:34:23 -04:00
|
|
|
mutation {
|
|
|
|
products(update: $update, where: {id: {eq: 134}}) {
|
2019-07-29 01:13:33 -04:00
|
|
|
id
|
|
|
|
name
|
2019-09-06 00:34:23 -04:00
|
|
|
description
|
2019-07-29 01:13:33 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-26 00:35:31 -04:00
|
|
|
query {
|
2019-09-09 00:02:25 -04:00
|
|
|
me {
|
|
|
|
id
|
|
|
|
email
|
2019-09-26 00:35:31 -04:00
|
|
|
full_name
|
2019-09-09 00:02:25 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-06 00:34:23 -04:00
|
|
|
|
2019-09-05 00:09:56 -04:00
|
|
|
variables {
|
2019-09-06 00:34:23 -04:00
|
|
|
"update": {
|
|
|
|
"name": "Hellooooo",
|
|
|
|
"description": "World"
|
2019-09-05 00:09:56 -04:00
|
|
|
},
|
|
|
|
"user": 123
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
2019-09-06 00:34:23 -04:00
|
|
|
products(update: $update, where: {id: {eq: 134}}) {
|
2019-09-05 00:09:56 -04:00
|
|
|
id
|
2019-09-06 00:34:23 -04:00
|
|
|
name
|
|
|
|
description
|
2019-09-05 00:09:56 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-26 00:35:31 -04:00
|
|
|
variables {
|
|
|
|
"update": {
|
|
|
|
"name": "Helloo",
|
|
|
|
"description": "World \u003c\u003e"
|
|
|
|
},
|
|
|
|
"user": 123
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
products(id: 5, update: $update) {
|
2019-09-06 00:34:23 -04:00
|
|
|
id
|
2019-09-26 00:35:31 -04:00
|
|
|
name
|
|
|
|
description
|
2019-09-06 00:34:23 -04:00
|
|
|
}
|
2019-09-05 00:09:56 -04:00
|
|
|
}
|
|
|
|
|
2019-09-09 00:02:25 -04:00
|
|
|
query {
|
2019-09-26 00:35:31 -04:00
|
|
|
me {
|
2019-09-09 00:02:25 -04:00
|
|
|
id
|
|
|
|
email
|
2019-09-26 00:35:31 -04:00
|
|
|
full_name
|
2019-09-09 00:02:25 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|