Skip to content

Conversation

@davideast
Copy link
Collaborator

@davideast davideast commented Aug 21, 2018

.get() observable!

constructor(afs: AngularFirestore) {
  const items$ = afs.collection('items').get({ source: 'server' });
}

@davideast davideast changed the title feat(firestore): .get( Observable feat(firestore): .get() Observable Aug 21, 2018
@davideast davideast requested a review from jamesdaniels August 21, 2018 17:51
Copy link
Member

@jamesdaniels jamesdaniels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, we should follow up with docs + tests though.

@jamesdaniels
Copy link
Member

@davideast want to take point on a similar API for RTDB, wrapping once?

@jamesdaniels jamesdaniels merged commit 9f34be8 into angular:master Aug 21, 2018
sulco pushed a commit to sulco/angularfire2 that referenced this pull request Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants