blob: c9b1385e03ad86ed477cdeff7f8a82122665148a [file] [log] [blame]
{
"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
}
}
]
}