Title: collection function has no generic type · Issue #3073 · angular/angularfire · GitHub
Open Graph Title: collection function has no generic type · Issue #3073 · angular/angularfire
X Title: collection function has no generic type · Issue #3073 · angular/angularfire
Description: Version info Angular: 12.2.0 Firebase: 9.4.0 AngularFire: 7.2.0 How to reproduce these conditions import { collection, } from '@angular/fire/firestore'; Expected behavior collection suppose to receive generic type of collection documents...
Open Graph Description: Version info Angular: 12.2.0 Firebase: 9.4.0 AngularFire: 7.2.0 How to reproduce these conditions import { collection, } from '@angular/fire/firestore'; Expected behavior collection suppose to rece...
X Description: Version info Angular: 12.2.0 Firebase: 9.4.0 AngularFire: 7.2.0 How to reproduce these conditions import { collection, } from '@angular/fire/firestore'; Expected behavior collection suppose...
Opengraph URL: https://github.com/angular/angularfire/issues/3073
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"collection function has no generic type","articleBody":"### 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. -->\r\n\r\n**Angular:**\r\n12.2.0\r\n**Firebase:**\r\n9.4.0\r\n**AngularFire:**\r\n7.2.0\r\n\r\n### How to reproduce these conditions\r\nimport {\r\n collection,\r\n} from '@angular/fire/firestore';\r\n\r\n### Expected behavior\r\n\r\ncollection suppose to receive generic type of collection documents interface. as stated in docs \r\n\r\nimport { collection } from '@angular/fire/firestore';\r\ncollection\u003cT>(firestore, 'foo') // CollectionReference\u003cT>\r\n\r\n### Actual behavior\r\ngeneric type is not configured, hence causing a problem on passing to update and doc functions with the generic type of the interface set\r\n\r\n\r\n\r\n.","author":{"url":"https://github.com/zadokdaniel","@type":"Person","name":"zadokdaniel"},"datePublished":"2021-11-22T17:48:26Z","url":"https://github.com/angular/angularfire/issues/3073"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:66d3f8e9-a994-2c06-5f59-564e492813a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F6A:386611:3232EE7:427BCD4:6B03600B |
| html-safe-nonce | 286301a167a906b6c64d7b42dd139c09c3793ed3f1c5baec3fe2e4981ef35b21 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjZBOjM4NjYxMTozMjMyRUU3OjQyN0JDRDQ6NkIwMzYwMEIiLCJ2aXNpdG9yX2lkIjoiMjcwNjQ2MzY4NzYzNTU5MTE3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5885f33c0136227320492a6c9b8ebb95c85a1a1e82fd8e4666c831f3e320dcbc |
| hovercard-subject-tag | issue:1060435321 |
| 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/3073/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1d33bc756fe5f90c8ecd5adfc861e3bb013be87fd8b49e028a72d069f9b3ffea/angular/angularfire/issues/3073 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1d33bc756fe5f90c8ecd5adfc861e3bb013be87fd8b49e028a72d069f9b3ffea/angular/angularfire/issues/3073 |
| og:image:alt | Version info Angular: 12.2.0 Firebase: 9.4.0 AngularFire: 7.2.0 How to reproduce these conditions import { collection, } from '@angular/fire/firestore'; Expected behavior collection suppose to rece... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zadokdaniel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width