{ | |
"tests": [ | |
{ | |
"description": "update-paths: 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.", | |
"updatePaths": { | |
"docRefPath": "projects/projectID/databases/(default)/documents/C/d", | |
"fieldPaths": [ | |
{ | |
"field": [ | |
"a" | |
] | |
} | |
], | |
"jsonValues": [ | |
"[1, 2, \"Delete\"]" | |
], | |
"isError": true | |
} | |
} | |
] | |
} |