2019-07-29 07:49:48 +02:00
|
|
|
# http://localhost:8080/
|
2019-07-29 07:13:33 +02:00
|
|
|
|
2019-10-15 08:30:19 +02:00
|
|
|
variables {
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"name": "Protect Ya Neck",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Enter the Wu-Tang",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
products(insert: $data) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-03 16:24:11 +02:00
|
|
|
variables {
|
|
|
|
"update": {
|
|
|
|
"name": "Wu-Tang",
|
|
|
|
"description": "No description needed"
|
|
|
|
},
|
2019-10-06 22:28:10 +02:00
|
|
|
"product_id": 1
|
2019-10-03 16:24:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
products(id: $product_id, update: $update) {
|
2019-10-01 06:00:15 +02:00
|
|
|
id
|
2019-10-03 16:24:11 +02:00
|
|
|
name
|
|
|
|
description
|
2019-10-01 06:00:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-15 08:30:19 +02:00
|
|
|
query {
|
|
|
|
users {
|
|
|
|
id
|
|
|
|
email
|
|
|
|
picture: avatar
|
|
|
|
products(limit: 2, where: {price: {gt: 10}}) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
description
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-06 06:34:23 +02:00
|
|
|
variables {
|
2019-10-15 08:30:19 +02:00
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"name": "Gumbo1",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Gumbo2",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
}
|
|
|
|
]
|
2019-07-29 07:13:33 +02:00
|
|
|
}
|
|
|
|
|
2019-09-06 06:34:23 +02:00
|
|
|
mutation {
|
2019-10-15 08:30:19 +02:00
|
|
|
products(id: 199, delete: true) {
|
2019-10-03 16:24:11 +02:00
|
|
|
id
|
2019-10-06 22:28:10 +02:00
|
|
|
name
|
2019-10-03 16:24:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-01 06:00:15 +02:00
|
|
|
query {
|
2019-10-06 22:28:10 +02:00
|
|
|
products {
|
2019-10-01 06:00:15 +02:00
|
|
|
id
|
2019-10-06 22:28:10 +02:00
|
|
|
name
|
2019-10-15 08:30:19 +02:00
|
|
|
user {
|
|
|
|
email
|
|
|
|
}
|
2019-10-06 22:28:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
2019-10-15 08:30:19 +02:00
|
|
|
"data": {
|
|
|
|
"product_id": 5
|
|
|
|
}
|
2019-10-06 22:28:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
2019-10-15 08:30:19 +02:00
|
|
|
products(id: $product_id, delete: true) {
|
2019-10-06 22:28:10 +02:00
|
|
|
id
|
|
|
|
name
|
2019-10-01 06:00:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-06 22:28:10 +02:00
|
|
|
query {
|
2019-10-15 08:30:19 +02:00
|
|
|
products {
|
2019-09-05 06:09:56 +02:00
|
|
|
id
|
2019-09-06 06:34:23 +02:00
|
|
|
name
|
2019-10-15 08:30:19 +02:00
|
|
|
price
|
|
|
|
users {
|
|
|
|
email
|
|
|
|
}
|
2019-10-03 16:24:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-26 06:35:31 +02:00
|
|
|
variables {
|
2019-10-06 22:28:10 +02:00
|
|
|
"data": {
|
|
|
|
"email": "gfk@myspace.com",
|
|
|
|
"full_name": "Ghostface Killah",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
}
|
2019-09-26 06:35:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
2019-10-06 22:28:10 +02:00
|
|
|
user(insert: $data) {
|
|
|
|
id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-15 08:30:19 +02:00
|
|
|
variables {
|
|
|
|
"update": {
|
|
|
|
"name": "Helloo",
|
|
|
|
"description": "World \u003c\u003e"
|
|
|
|
},
|
|
|
|
"user": 123
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
products(id: 5, update: $update) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
description
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-06 22:28:10 +02:00
|
|
|
variables {
|
2019-11-25 08:22:33 +01:00
|
|
|
"data": {
|
|
|
|
"name": "WOOO",
|
|
|
|
"price": 50.5
|
|
|
|
}
|
2019-10-06 22:28:10 +02:00
|
|
|
}
|
|
|
|
|
2019-11-25 08:22:33 +01:00
|
|
|
mutation {
|
|
|
|
products(insert: $data) {
|
2019-10-15 08:30:19 +02:00
|
|
|
id
|
|
|
|
name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-26 07:36:19 +01:00
|
|
|
query getProducts {
|
2019-10-15 08:30:19 +02:00
|
|
|
products {
|
2019-09-06 06:34:23 +02:00
|
|
|
id
|
2019-09-26 06:35:31 +02:00
|
|
|
name
|
2019-11-28 07:25:46 +01:00
|
|
|
price
|
|
|
|
description
|
2019-11-21 08:14:12 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-29 07:38:23 +01:00
|
|
|
query {
|
|
|
|
deals {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
price
|
|
|
|
}
|
|
|
|
}
|
2019-10-15 08:30:19 +02:00
|
|
|
|
2019-12-02 16:52:22 +01:00
|
|
|
variables {
|
|
|
|
"beer": "smoke"
|
|
|
|
}
|
|
|
|
|
|
|
|
query beerSearch {
|
|
|
|
products(search: $beer) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
search_rank
|
|
|
|
search_headline_description
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-25 07:24:30 +01:00
|
|
|
query {
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"email": "goo1@rug.com",
|
|
|
|
"full_name": "The Dude",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"product": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
user(insert: $data) {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
product {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
price
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"email": "goo12@rug.com",
|
|
|
|
"full_name": "The Dude",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"product": [
|
|
|
|
{
|
|
|
|
"name": "Banana 1",
|
|
|
|
"price": 1.1,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Banana 2",
|
|
|
|
"price": 2.2,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
user(insert: $data) {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
products {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
price
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"name": "Banana 3",
|
|
|
|
"price": 1.1,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"user": {
|
|
|
|
"email": "a2@a.com",
|
|
|
|
"full_name": "The Dude",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
products(insert: $data) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
price
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-29 07:53:54 +01:00
|
|
|
variables {
|
|
|
|
"update": {
|
|
|
|
"name": "my_name",
|
|
|
|
"description": "my_desc"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
product(id: 15, update: $update, where: {id: {eq: 1}}) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"update": {
|
|
|
|
"name": "my_name",
|
|
|
|
"description": "my_desc"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
product(update: $update, where: {id: {eq: 1}}) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"update": {
|
|
|
|
"name": "my_name 2",
|
|
|
|
"description": "my_desc 2"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
product(update: $update, where: {id: {eq: 1}}) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
description
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"sale_type": "tuutuu",
|
|
|
|
"quantity": 5,
|
|
|
|
"due_date": "now",
|
|
|
|
"customer": {
|
|
|
|
"email": "thedude1@rug.com",
|
|
|
|
"full_name": "The Dude"
|
|
|
|
},
|
|
|
|
"product": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
purchase(update: $data, id: 5) {
|
|
|
|
sale_type
|
|
|
|
quantity
|
|
|
|
due_date
|
|
|
|
customer {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
}
|
|
|
|
product {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
price
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"email": "thedude@rug.com",
|
|
|
|
"full_name": "The Dude",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"product": {
|
|
|
|
"where": {
|
|
|
|
"id": 2
|
|
|
|
},
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
user(update: $data, where: {id: {eq: 8}}) {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
product {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
price
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"email": "thedude@rug.com",
|
|
|
|
"full_name": "The Dude",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"product": {
|
|
|
|
"where": {
|
|
|
|
"id": 2
|
|
|
|
},
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
query {
|
|
|
|
user(where: {id: {eq: 8}}) {
|
|
|
|
id
|
|
|
|
product {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
price
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"user": {
|
|
|
|
"email": "thedude@rug.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
query {
|
|
|
|
user {
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"user": {
|
|
|
|
"email": "booboo@demo.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
product(update: $data, id: 6) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"user": {
|
|
|
|
"email": "booboo@demo.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
query {
|
|
|
|
product(id: 6) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"email": "thedude123@rug.com",
|
|
|
|
"full_name": "The Dude",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"product": {
|
|
|
|
"connect": {
|
|
|
|
"id": 7
|
|
|
|
},
|
|
|
|
"disconnect": {
|
|
|
|
"id": 8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
user(update: $data, id: 6) {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
product {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
price
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"user": {
|
|
|
|
"connect": {
|
|
|
|
"id": 5,
|
|
|
|
"email": "test@test.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
product(update: $data, id: 9) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"email": "thed44ude@rug.com",
|
|
|
|
"full_name": "The Dude",
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"product": {
|
|
|
|
"connect": {
|
|
|
|
"id": 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
user(insert: $data) {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
product {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
price
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"user": {
|
|
|
|
"connect": {
|
|
|
|
"id": 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
product(insert: $data) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"user": {
|
|
|
|
"connect": {
|
|
|
|
"id": 6
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Coconut",
|
|
|
|
"price": 2.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now",
|
|
|
|
"user": {
|
|
|
|
"connect": {
|
|
|
|
"id": 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
products(insert: $data) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Coconut",
|
|
|
|
"price": 2.25,
|
|
|
|
"created_at": "now",
|
|
|
|
"updated_at": "now"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
products(insert: $data) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"user": {
|
|
|
|
"connect": {
|
|
|
|
"id": 5,
|
|
|
|
"email": "test@test.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
product(update: $data, id: 9) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"user": {
|
|
|
|
"connect": {
|
|
|
|
"id": 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
product(update: $data, id: 9) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
full_name
|
|
|
|
email
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"user": {
|
|
|
|
"disconnect": {
|
|
|
|
"id": 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
product(update: $data, id: 9) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
user_id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
variables {
|
|
|
|
"data": {
|
|
|
|
"name": "Apple",
|
|
|
|
"price": 1.25,
|
|
|
|
"user": {
|
|
|
|
"disconnect": {
|
|
|
|
"id": 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation {
|
|
|
|
product(update: $data, id: 2) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
user_id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-02 16:52:22 +01:00
|
|
|
|