Guillermo Dorfman
06/29/2022, 1:48 PMJason Bosco
06/29/2022, 1:51 PMref
is an internal firebase field right?Jason Bosco
06/29/2022, 1:52 PMJason Bosco
06/29/2022, 1:53 PMref
isn't returned by Firestore there, then the extension won't be able to sync itGuillermo Dorfman
06/29/2022, 2:02 PMelse if (value instanceof admin.firestore.DocumentReference) {
return null;
}
Jason Bosco
06/29/2022, 2:03 PMJason Bosco
06/29/2022, 2:03 PMvalue
from the else
blockJason Bosco
06/29/2022, 2:08 PMGuillermo Dorfman
06/29/2022, 2:11 PMGuillermo Dorfman
06/29/2022, 2:11 PMJason Bosco
06/29/2022, 2:13 PMJason Bosco
06/29/2022, 2:13 PMelse if ((typeof value === "object" && value !== null) || value instanceof admin.firestore.DocumentReference)
Guillermo Dorfman
06/29/2022, 2:17 PMpath
that returns a string with the path inside the DB, maybe we could work with thatJason Bosco
06/29/2022, 2:18 PMref.path
as a field into Typesense?Guillermo Dorfman
06/29/2022, 2:19 PMGuillermo Dorfman
06/29/2022, 2:49 PMJason Bosco
07/05/2022, 6:45 PMGuillermo Dorfman
07/05/2022, 6:52 PMJason Bosco
07/05/2022, 6:53 PMJason Bosco
07/05/2022, 6:53 PMGuillermo Dorfman
07/06/2022, 1:55 PMJason Bosco
07/06/2022, 1:56 PMGuillermo Dorfman
07/06/2022, 3:48 PMnpm run emulator
gives me
error: unknown option '--test-params'
Guillermo Dorfman
07/06/2022, 3:52 PMJason Bosco
07/06/2022, 4:06 PMfirebase --open-sesame extdev
first, and then try running the emulator?Guillermo Dorfman
07/06/2022, 4:25 PMext:dev:emulators:start is no longer supported. Instead, navigate to a Firebase project directory and add this extension to the extensions manifest by running:
firebase ext:install
Guillermo Dorfman
07/06/2022, 4:26 PMi extensions: ensuring required API <http://firebaseextensions.googleapis.com|firebaseextensions.googleapis.com> is enabled...
Error: HTTP Error: 403, Permission denied to get service [<http://firebaseextensions.googleapis.com|firebaseextensions.googleapis.com>]
Jason Bosco
07/06/2022, 4:37 PMGuillermo Dorfman
07/06/2022, 5:27 PMGuillermo Dorfman
07/06/2022, 6:13 PMJason Bosco
07/07/2022, 2:38 AMGuillermo Dorfman
07/07/2022, 1:35 PMGuillermo Dorfman
07/07/2022, 1:35 PMJason Bosco
07/07/2022, 2:15 PMref.path
Jason Bosco
07/07/2022, 2:15 PMGuillermo Dorfman
07/07/2022, 2:19 PMGuillermo Dorfman
07/07/2022, 2:22 PMGuillermo Dorfman
07/07/2022, 2:22 PMGuillermo Dorfman
07/07/2022, 2:24 PMJason Bosco
07/12/2022, 3:38 AMref
key in the Firestore doc? I'm trying to replicate this on my Firestore collection