Skip to content

Storing a dot-notated key for a firestore document should create a nested object #97

@rorybainfreetrade

Description

@rorybainfreetrade

With firestore, when you set the following for an object:

firestore.doc(`foo`).set({
    'bar.thing': 3
})

You expect to get a document in Firestore with the following shape:

{
   bar: {
      thing: 3
   }
}

But currently the driver only stores the original dotted-string path to the original value. ('bar.thing': 3)

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