Title: feat(database): add option to include key on `valueChanges()` by sarunint · Pull Request #2126 · angular/angularfire · GitHub
Open Graph Title: feat(database): add option to include key on `valueChanges()` by sarunint · Pull Request #2126 · angular/angularfire
X Title: feat(database): add option to include key on `valueChanges()` by sarunint · Pull Request #2126 · angular/angularfire
Description: Checklist Issue number for this PR: #1562 (required) Docs included?: not yet Test units included?: no? (original code has no test???) In a clean directory, yarn install, yarn test run successfully?: yes Description The RTDB version of #1976. Why should only Firestore have the fun? Code sample All of the following are valid. this.afd.list('path').valueChanges(); this.afd.list('path').valueChanges(undefined, {idField: 'key'}); Caveats Currently, if the list is an array of primitive types, it would not work. Please advise on how I should proceed.
Open Graph Description: Checklist Issue number for this PR: #1562 (required) Docs included?: not yet Test units included?: no? (original code has no test???) In a clean directory, yarn install, yarn test run successfully...
X Description: Checklist Issue number for this PR: #1562 (required) Docs included?: not yet Test units included?: no? (original code has no test???) In a clean directory, yarn install, yarn test run successfully...
Opengraph URL: https://github.com/angular/angularfire/pull/2126
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:705140d7-c8b1-ca37-dc7d-b657711719c2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8328:3BAF11:234BA8F:317B12B:6A5F50B5 |
| html-safe-nonce | 7c2c2a131907e9016585ce4581a4ed0f4334a0dd786c564b209bbac00f98599c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzI4OjNCQUYxMToyMzRCQThGOjMxN0IxMkI6NkE1RjUwQjUiLCJ2aXNpdG9yX2lkIjoiMjA1MDM0MDUyNTA0MjExNjM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0e6ac3b5da54072928e705f31ea0a9687c9763a16ab368c8d5b6c0ef616b3d3d |
| hovercard-subject-tag | pull_request:294609870 |
| 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/2126/files |
| twitter:image | https://avatars.githubusercontent.com/u/3850197?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3850197?s=400&v=4 |
| og:image:alt | Checklist Issue number for this PR: #1562 (required) Docs included?: not yet Test units included?: no? (original code has no test???) In a clean directory, yarn install, yarn test run successfully... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a0797c11799dbfd7df57fa3de31c7ea3a4c4bd055eb1a0427a5cde1d4d7ba3f |
| 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 | b099d96da147aea31036cd16b2fba0083a6defe4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width