blob: 08745a08b07b37f4365ac672ac69ecac4e4cb6a5 [file] [log] [blame]
{
"tests": [
{
"description": "update: 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.",
"update": {
"docRefPath": "projects/projectID/databases/(default)/documents/C/d",
"jsonData": "{\"a\": [1, {\"b\": [\"ArrayUnion\", 1, 2, 3]}]}",
"isError": true
}
}
]
}