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