-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix(afs): fix collection add return type #2001
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
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
1 similar comment
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
|
I signed it! |
|
CLAs look good, thanks! |
1 similar comment
|
CLAs look good, thanks! |
|
FYI I've asked David to review as this is an API change. As such we wouldn't be able to merge to v6 if we want to go this direction. |
|
Thanks for this contribution, we opted to go a different direction in v7 however and no longer have a |
Checklist
yarn install,yarn testrun successfully? yesDescription
The method
AngularFirestoreCollection.addis not consistent withAngularFirestoreCollection.docand returns a class of typePromise<firebase.firestore.DocumentReference>instead of aPromise<AngularFirestoreDocument<T>>.This is a breaking change of a previously undocumented behaviour.
Code sample
This
becomes