Title: feat(firestore): options to include document ID on valueChanges() by mjastrzebowski · Pull Request #2113 · angular/angularfire · GitHub
Open Graph Title: feat(firestore): options to include document ID on valueChanges() by mjastrzebowski · Pull Request #2113 · angular/angularfire
X Title: feat(firestore): options to include document ID on valueChanges() by mjastrzebowski · Pull Request #2113 · angular/angularfire
Description: Checklist Issue number for this PR: #2109 Docs included?: Yes Test units included?: Yes In a clean directory, yarn install, yarn test run successfully? Yes Description Continuation of #1976 - added idField option for document.valuChanges() to include the document ID on the emitted data payload. Updated documentation for this one and added some missing changes from the previous PR. Code sample documentRef.valueChanges({ idField: 'customID' }).subscribe() // emits [ { customID: 'MrfFpRBfWLTd7LqiTt9u', ...data }, ... ]
Open Graph Description: Checklist Issue number for this PR: #2109 Docs included?: Yes Test units included?: Yes In a clean directory, yarn install, yarn test run successfully? Yes Description Continuation of #1976 - add...
X Description: Checklist Issue number for this PR: #2109 Docs included?: Yes Test units included?: Yes In a clean directory, yarn install, yarn test run successfully? Yes Description Continuation of #1976 - add...
Opengraph URL: https://github.com/angular/angularfire/pull/2113
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:038cc836-ea64-01bc-2f47-496e6899cc8c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 85C4:3DF3AD:8DF1B9:CC5673:6A5F788B |
| html-safe-nonce | fbddb5a0cdbbfb2fefc336d258d9dfadc36f3222aee977ea2f2b361fa088d42e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUM0OjNERjNBRDo4REYxQjk6Q0M1NjczOjZBNUY3ODhCIiwidmlzaXRvcl9pZCI6IjQ1MjE5NzQwNjYxODMxMDg3NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 29e05e35132757fd020dabdf10e25ada74030d26fc6279e59af7368cc602a673 |
| hovercard-subject-tag | pull_request:288551105 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/angular/angularfire/pull/2113/files |
| twitter:image | https://avatars.githubusercontent.com/u/1092924?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1092924?s=400&v=4 |
| og:image:alt | Checklist Issue number for this PR: #2109 Docs included?: Yes Test units included?: Yes In a clean directory, yarn install, yarn test run successfully? Yes Description Continuation of #1976 - add... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 452de97a03b38f04f76083e607149d32906d2c0b7b8eefeb40f6abb19033123d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 04b6e0d7b342a002446f33418e84ead364c16c2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width