Darren
04/30/2020, 11:00 PMShane Myrick
04/30/2020, 11:05 PMDarren
04/30/2020, 11:19 PMDarren
04/30/2020, 11:22 PMDariusz Kuc
05/01/2020, 1:37 AMmutation {
updateX // X is a complex object with Y and Z
}
followed by (fields resolved independently of each other and in parallel)
query {
Y // old data
Z // new data
}
Dariusz Kuc
05/01/2020, 1:39 AMDariusz Kuc
05/01/2020, 1:40 AMDariusz Kuc
05/01/2020, 1:42 AMquery {
X { // function
Y // property on X
Z // property on X
}
}
you could limit transaction to just X and within it you would fetch both Y and Z and populate it on X before returning the complete objectDariusz Kuc
05/01/2020, 1:42 AMDarren
05/01/2020, 7:05 PMDariusz Kuc
05/01/2020, 8:38 PM