Skip to content

Firestore: add option to get an observable of doc(s) with id #2005

Closed
@yonathan06

Description

@yonathan06

I see that in a lot of places in my code I add map operator to add the id of each document to the value of the observable (in snapshotChanges)
I wrote a few helpers to avoid dedupe in my code, and would like to add it here.
My thought is to have a valueWithIdChanges that returns an observable of the doc + id.

Any thoughts on this?

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