| { | |
| "tests": [ | |
| { | |
| "description": "update: Delete cannot be in an array value", | |
| "comment": "The Delete sentinel must be the value of a field. Deletes are\nimplemented by turning the path to the Delete sentinel into a FieldPath, and FieldPaths\ndo not support array indexing.", | |
| "update": { | |
| "docRefPath": "projects/projectID/databases/(default)/documents/C/d", | |
| "jsonData": "{\"a\": [1, 2, \"Delete\"]}", | |
| "isError": true | |
| } | |
| } | |
| ] | |
| } |