andrius
05/11/2017, 7:50 PM{
"data": {
"ph1": {
"id": "cj2ktugdns3gp01126sb40uc1"
},
"ph2": {
"id": "cj2ktuge9s3kt0112yivor283"
}
}
}
Is there is a way to add all these ids to other object as one-to-many relation in one go? Or I need also create multiple mutation for this?nilan
05/11/2017, 7:51 PMandrius
05/11/2017, 7:52 PMmutation {
ph1 : createPhoto(
w: 1080
h: 720
credits: "zxc"
ext:"jpg"
portrait:false
publicIdx:"weddingsuppliers/venue/eeaXqR9Rgl/pzakl5arroic8wnlzwb0"
supplierId:"cj2kngwjci4x50189yrbmsy1o"
) {
id
}
ph2: createPhoto(
w: 1080
h: 720
credits: "zxc"
ext:"jpg"
portrait:false
publicIdx:"weddingsuppliers/venue/eeaXqR9Rgl/pzakl5arroic8wnlzwb0"
supplierId:"cj2kngwjci4x50189yrbmsy1o"
) {
id
}
}nilan
05/11/2017, 7:52 PMandrius
05/11/2017, 7:54 PMnilan
05/11/2017, 7:55 PMnilan
05/11/2017, 7:55 PMandrius
05/11/2017, 7:55 PMnilan
05/11/2017, 7:55 PMsupplierId argument alreadyandrius
05/11/2017, 7:56 PMnilan
05/11/2017, 7:56 PMandrius
05/11/2017, 7:56 PMnilan
05/11/2017, 7:56 PM