Title: Add support for getting document's id in CollectionGroupQuery · Issue #2579 · angular/angularfire · GitHub
Open Graph Title: Add support for getting document's id in CollectionGroupQuery · Issue #2579 · angular/angularfire
X Title: Add support for getting document's id in CollectionGroupQuery · Issue #2579 · angular/angularfire
Description: Version info Angular: 9.1.6 Firebase: 7.15.0 AngularFire: 6.02 Hi! I'm using angularfire on a project and I've tried to use collectionGroup.valueChanges({ idField: 'docId' }) to retrieve a collection group with the document ids mapped to...
Open Graph Description: Version info Angular: 9.1.6 Firebase: 7.15.0 AngularFire: 6.02 Hi! I'm using angularfire on a project and I've tried to use collectionGroup.valueChanges({ idField: 'docId' }) to retrieve a collecti...
X Description: Version info Angular: 9.1.6 Firebase: 7.15.0 AngularFire: 6.02 Hi! I'm using angularfire on a project and I've tried to use collectionGroup.valueChanges({ idField: 'docId' }) to ret...
Opengraph URL: https://github.com/angular/angularfire/issues/2579
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for getting document's id in CollectionGroupQuery","articleBody":"\u003c!--\r\n\r\nIMPORTANT! YOU MUST FOLLOW THESE INSTRUCTIONS OR YOUR ISSUE WILL BE CLOSED.\r\n\r\nThank you for contributing to the Angular and Firebase communities!\r\n\r\nHave a usage question?\r\n=======================\r\nWe get lots of those and we love helping you, but GitHub is not the best place for them and they will be closed. Here are some resources to get help:\r\n\r\n- Go through the Developer's Guide: https://github.com/angular/angularfire2#developer-guide\r\n\r\nIf the official documentation doesn't help, try asking through our officially supported channels:\r\n\r\n- Firebase Google Group: https://groups.google.com/forum/#!forum/firebase-talk\r\n- Stack Overflow: https://stackoverflow.com/questions/tagged/angular (include the firebase and angularfire tags, too!)\r\n\r\n*Please avoid double posting across multiple channels!*\r\n\r\nThink you found a bug?\r\n=======================\r\nYeah, we're definitely not perfect! Please use the bug report template below and include a minimal repro when opening the issue.\r\n\r\nHave a feature request?\r\n========================\r\nGreat, we love hearing how we can improve our products! Remove the template below and\r\nprovide an explanation of your feature request. Provide code samples if applicable. Try to\r\nthink about what it will allow you to do that you can't do today? How will it make current\r\nworkarounds straightforward? What potential bugs and edge cases does it help to avoid?\r\n\r\n--\u003e\r\n\r\n\r\n### Version info\r\n\r\n\u003c!-- What versions of the following libraries are you using? Note that your issue may already\r\nbe fixed in the latest versions. --\u003e\r\n\r\n**Angular: 9.1.6**\r\n\r\n**Firebase: 7.15.0**\r\n\r\n**AngularFire: 6.02**\r\n\r\nHi!\r\n\r\nI'm using angularfire on a project and I've tried to use `collectionGroup.valueChanges({ idField: 'docId' })` to retrieve a collection group with the document ids mapped to the `docId` property as I saw in the [docs](https://github.com/angular/angularfire/blob/master/docs/firestore/querying-collections.md#collection-group-queries). When I tried this, TS complained that the `valueChanges` function does not expect any arguments, so I took a quick look at the source and found out that the implementation is missing.\r\n\r\nI'll be providing a PR with the implementation of this shortly.\r\n\r\n","author":{"url":"https://github.com/simonxabris","@type":"Person","name":"simonxabris"},"datePublished":"2020-08-30T11:33:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2579/angularfire/issues/2579"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6e39861b-ed24-c8cf-6d42-2005fb2a1b33 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF44:3DF3AD:123A1C0:19F82BB:6A5F9838 |
| html-safe-nonce | f8a05162a5a8c1ca562963919d945be3ccb31a6ad75a885cfc6ad7355db8fe9f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjQ0OjNERjNBRDoxMjNBMUMwOjE5RjgyQkI6NkE1Rjk4MzgiLCJ2aXNpdG9yX2lkIjoiNDU4OTA0ODQ4ODg0MDM3MDIzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4bdaab11bf57af993d92c576a2d89f43221bc3f25e206c6b217c1ae041719db0 |
| hovercard-subject-tag | issue:688702650 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angularfire/2579/issue_layout |
| twitter:image | https://opengraph.githubassets.com/51d18dbee3ecb9165677c699ca91d25578c3c3ed2620503f318f1afc35b619ed/angular/angularfire/issues/2579 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/51d18dbee3ecb9165677c699ca91d25578c3c3ed2620503f318f1afc35b619ed/angular/angularfire/issues/2579 |
| og:image:alt | Version info Angular: 9.1.6 Firebase: 7.15.0 AngularFire: 6.02 Hi! I'm using angularfire on a project and I've tried to use collectionGroup.valueChanges({ idField: 'docId' }) to retrieve a collecti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | simonxabris |
| hostname | github.com |
| expected-hostname | github.com |
| None | 419b66b5f218029570caa18c30987e7dbabe4f5a6767918b33a504d02739c9c7 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | de5b18aa36dbc0b61e03aeb111e84e90fde499b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width