Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yonathan06 opened this issue Feb 8, 2019 · 1 comment
Closed

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

yonathan06 opened this issue Feb 8, 2019 · 1 comment

Comments

@yonathan06
Copy link

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?

@jorroll
Copy link

jorroll commented Feb 8, 2019

duplicate of #1973

Also see PR #1976

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants