Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Does not handle native nested arrays (payload is empty / deleted)  #37

@wire67

Description

@wire67
      $val = [
         'timestamp' => new FirestoreTimestamp,
         'a' => ['b'=>['c'=>'test']],
      ];
      $ret = $firestoreClient->updateDocument($path, $val);

Unable to handle nested native arrays.
This code will fail, and add no fields to the document, if the given fields are present they will be deleted, there is no exception raised, payload will just be empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions