Skip to content

Firestore FieldValue.arrayUnion incorrectly uses platform's firestore serialisation #708

@crc-32

Description

@crc-32

Performing e.g. DocumentReference.update("list" to FieldValue.arrayUnion(foo)) currently does not use kotlinx serialization even if a @Serializable class is used, but then when retrieving the data it will be used correctly meaning stored data fails to deserialize.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions