Title: ERROR FirebaseError: Expected type 'Query', but it was: a custom wh object · Issue #3442 · angular/angularfire · GitHub
Open Graph Title: ERROR FirebaseError: Expected type 'Query', but it was: a custom wh object · Issue #3442 · angular/angularfire
X Title: ERROR FirebaseError: Expected type 'Query', but it was: a custom wh object · Issue #3442 · angular/angularfire
Description: Version info Angular: 16 Firebase: 7 AngularFire: latest Other (e.g. Ionic/Cordova, Node, browser, operating system): Node export class CategoryComponent { private fs: Firestore = inject(Firestore); categories$: Observable
Open Graph Description: Version info Angular: 16 Firebase: 7 AngularFire: latest Other (e.g. Ionic/Cordova, Node, browser, operating system): Node export class CategoryComponent { private fs: Firestore = inject(Firestore)...
X Description: Version info Angular: 16 Firebase: 7 AngularFire: latest Other (e.g. Ionic/Cordova, Node, browser, operating system): Node export class CategoryComponent { private fs: Firestore = inject(Firestore)...
Opengraph URL: https://github.com/angular/angularfire/issues/3442
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ERROR FirebaseError: Expected type 'Query', but it was: a custom wh object","articleBody":"Version info\r\nAngular: 16\r\n\r\nFirebase: 7\r\n\r\nAngularFire: latest\r\n\r\nOther (e.g. Ionic/Cordova, Node, browser, operating system): Node\r\n\r\nexport class CategoryComponent {\r\n\r\nprivate fs: Firestore = inject(Firestore);\r\ncategories$: Observable\u003cCategory[]>;\r\n\r\nconstructor() {\r\n// get a reference to the user-profile collection\r\nconst categoryCollection = collection(this.fs, 'categories');\r\n\r\n// get documents (data) from the collection using collectionData\r\nthis.categories$ = collectionData(categoryCollection) as Observable\u003cCategory[]>;\r\n\r\nconsole.log(categoryCollection); \r\n}\r\n\r\n}\r\n\r\nThe Chrome console returns> ERROR FirebaseError: Expected type 'Query', but it was: a custom wh object\r\n\r\nWhat is happening?","author":{"url":"https://github.com/fmauff1978","@type":"Person","name":"fmauff1978"},"datePublished":"2023-09-30T22:58:28Z","url":"https://github.com/angular/angularfire/issues/3442"}
| 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:d588e7bf-01f7-ef69-08c7-1614e8d6c389 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 939C:822F:66C8E2:81D2C7:6B03663A |
| html-safe-nonce | 03c7d553d1a783995e73be0d963f0ce8f2da52a9fd11310a667fec0ed1186f24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzlDOjgyMkY6NjZDOEUyOjgxRDJDNzo2QjAzNjYzQSIsInZpc2l0b3JfaWQiOiIxNjc5NzYzMDY4NDcwNjUwNDI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7d1407bd6bed67b2522ee6534928f93bbd427124ac932eafe8623fb2f57185e6 |
| hovercard-subject-tag | issue:1920424536 |
| 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/3442/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4f600a4eeda945c3b9966cb861e43772c53fbb5c4dc9f1962fe700dcfec89609/angular/angularfire/issues/3442 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f600a4eeda945c3b9966cb861e43772c53fbb5c4dc9f1962fe700dcfec89609/angular/angularfire/issues/3442 |
| og:image:alt | Version info Angular: 16 Firebase: 7 AngularFire: latest Other (e.g. Ionic/Cordova, Node, browser, operating system): Node export class CategoryComponent { private fs: Firestore = inject(Firestore)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fmauff1978 |
| 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 | full |
| 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