-
Notifications
You must be signed in to change notification settings - Fork 58
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
Firestore mock for DocumentReference.create() #135
Comments
Now that I think of it, it would be great do the same for |
I agree! This would be a great addition. I can try to set aside some time this week to add it, unless you want to take a stab at the PR! |
Hi @sbatson5, did you have time to take a look? I put this issue aside at work, but I believe this feature would be helpful! |
I was going to work on this today, but I'm actually having trouble finding |
Creates a document referred to by this There is the documentation for create on google cloud firestore, not on firebase firestore. |
I have the exact same documentation @superwoou |
as of now it is in the google firestore must have been added to match |
Summary
It seems
DocumentReference.create()
is not implemented yet.Basic example
I would like to test
create()
function as I actually do withset()
function.Actual
Expected
Motivation
DocumentReference.create()
allow us to create a new document only if the documentReference does not exist yet. I actually use it in my application, but sadly can't manage to test it.The text was updated successfully, but these errors were encountered: