Skip to content
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

feat: map doc ID to the provided idField in a collection group query #2580

Merged

Conversation

simonxabris
Copy link
Contributor

@simonxabris simonxabris commented Aug 30, 2020

Checklist

Description

This PR adds the missing implementation of mapping a document's ID to the field provided in collectionGroupQuery.valueChanges({ idField: 'docId' }).

It also updates the code example in the docs to use valid JS/TS.

Code sample

@mjastrzebowski
Copy link
Contributor

It was done already, but still not merged by @jamesdaniels :(
#2113

@simonxabris
Copy link
Contributor Author

@mjastrzebowski Ohh, I did not search back that far, sorry. In that case that PR should be merged and this can be closed/deleted. However I don't want to close this PR now as it's pretty new and maybe it catches the eye of one of the maintainers sooner than yours, is that OK with you?

@jamesdaniels jamesdaniels added this to the 6.1 milestone Nov 10, 2020
@jamesdaniels jamesdaniels merged commit dbf31d9 into angular:master Nov 11, 2020
@simonxabris simonxabris deleted the feat/get-id-in-collection-group branch November 12, 2020 08:05
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.

4 participants