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