| { | |
| "tests": [ | |
| { | |
| "description": "update-paths: Delete cannot be nested", | |
| "comment": "The Delete sentinel must be the value of a top-level key.", | |
| "updatePaths": { | |
| "docRefPath": "projects/projectID/databases/(default)/documents/C/d", | |
| "fieldPaths": [ | |
| { | |
| "field": [ | |
| "a" | |
| ] | |
| } | |
| ], | |
| "jsonValues": [ | |
| "{\"b\": \"Delete\"}" | |
| ], | |
| "isError": true | |
| } | |
| } | |
| ] | |
| } |