Confusing errors on db.patch calls inside mutation
However, I was under the impression that all fields are optional on db.patch (it will update only the received ones), as is hinted by the method signature expecting the "partial" object:
and so a "required field" validation against the schema doesn't really make sense.
However, this is behaving inconsistently, as shown in the attached screenshots. As it was working properly before today, I suspect that the real culprit might be the multiple mutations running in parallel, since I also got this error once:
So why am I seeing the schema validation errors? Are these two related? I'll work to fix the concurrency issue regardless, but it took me a while to get the concurrency error so if it is the real cause it would have been better to have seen this first. Am I missing anything? I will appreciate any help.


