Closed
Description
angularfire2/database
allows initialising a object
/list
using either a path string or a reference. It would be nice to allow the same for the firestore.
The new interface would look something like this:
collection<T>(pathOrRef: string | firebase.firestore.CollectionReference, queryFn?: QueryFn): AngularFirestoreCollection<T>
doc<T>(pathOrRef: string | firebase.firestore.DocumentReference): AngularFirestoreDocument<T>
It should be a simple change, I can make a PR for it if it sounds interesting.
Metadata
Metadata
Assignees
Labels
No labels