| { |
| "tests": [ |
| { |
| "description": "set-merge: Delete cannot appear as part of a merge path", |
| "comment": "If a Delete is part of the value at a merge path, then the user is\nconfused: their merge path says \"replace this entire value\" but their Delete says\n\"delete this part of the value\". This should be an error, just as if they specified Delete\nin a Set with no merge.", |
| "set": { |
| "docRefPath": "projects/projectID/databases/(default)/documents/C/d", |
| "option": { |
| "fields": [ |
| { |
| "field": [ |
| "h" |
| ] |
| } |
| ] |
| }, |
| "jsonData": "{\"h\": {\"g\": \"Delete\"}}", |
| "isError": true |
| } |
| } |
| ] |
| } |