# DO NOT MODIFY. This file was generated by
# github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.

# If a Delete is part of the value at a merge path, then the user is confused:
# their merge path says "replace this entire value" but their Delete says "delete
# this part of the value". This should be an error, just as if they specified
# Delete in a Set with no merge.

description: "set-merge: Delete cannot appear as part of a merge path"
set: <
  doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  option: <
    fields: <
      field: "h"
    >
  >
  json_data: "{\"h\": {\"g\": \"Delete\"}}"
  is_error: true
>