-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Allow Firestore collection and doc to accept a Reference as input #1337
Comments
We are actually using something very similar in our app already. Inspired by this post I created a service to wrap and extend angularfire with this functionality. It looks like this:
|
I am interested in this as well. |
Maistho
added a commit
to Maistho/angularfire2
that referenced
this issue
Feb 27, 2018
Allows firestore collection and doc to be constructed from both references and string paths. Fixes angular#1337
Maistho
added a commit
to Maistho/angularfire2
that referenced
this issue
Feb 27, 2018
Allows firestore collection and doc to be constructed from both references and string paths. Fixes angular#1337
Just opened a PR #1487 |
myspivey
pushed a commit
to myspivey/angularfire2
that referenced
this issue
Apr 10, 2018
Allows firestore collection and doc to be constructed from both references and string paths. Fixes angular#1337
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
angularfire2/database
allows initialising aobject
/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:
It should be a simple change, I can make a PR for it if it sounds interesting.
The text was updated successfully, but these errors were encountered: