{ | |
"tests": [ | |
{ | |
"description": "set: ArrayUnion cannot be anywhere inside an array value", | |
"comment": "There cannot be an array value anywhere on the path from the document\nroot to the ArrayUnion. Firestore transforms don't support array indexing.", | |
"set": { | |
"docRefPath": "projects/projectID/databases/(default)/documents/C/d", | |
"jsonData": "{\"a\": [1, {\"b\": [\"ArrayUnion\", 1, 2, 3]}]}", | |
"isError": true | |
} | |
} | |
] | |
} |