You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example uses a Filter object. When I try to import that with const { getFirestore, Filter } = require('firebase-admin/firestore');, I get this error:
Module '"firebase-admin/firestore"' has no exported member 'Filter'.
After checking the exports for firebase-admin/firestore, it looks like the Filter re-export is missing:
[REQUIRED] Step 2: Describe your environment
11.8.0
[REQUIRED] Step 3: Describe the problem
For Firestore
OR
queries, the Firebase reference docs link out to the Cloud Firestore reference docs, which have this code snippet: https://googleapis.dev/nodejs/firestore/latest/Filter.html#.orThe example uses a
Filter
object. When I try to import that withconst { getFirestore, Filter } = require('firebase-admin/firestore');
, I get this error:After checking the exports for
firebase-admin/firestore
, it looks like theFilter
re-export is missing:firebase-admin-node/src/firestore/index.ts
Lines 29 to 72 in 09c9ef6
Relevant Code:
The text was updated successfully, but these errors were encountered: