GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs

Documentation on how to use with Firebase Firestore emulators

Abierto
#583 2 comentarios 0 reacciones 0 asignados Ver en GitHub
P3 question
Lenguaje dominante
TypeScript
Estrellas
1.4k
Forks
181
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

We have an app that uses a Firestore database, and locally we can use the Firestore Firebase emulators provided by `firebase-tools` to avoid connecting to a remote/shared database.

It's clear enough on how to connect to the emulators locally for reading/writing data with `@google-cloud/firestore`, and it's also clear how I can deploy a function built with the Functions Framework that is triggered by a Firestore event. What I'm not clear on is how we can trigger a function built with the Functions Framework when data is written to said Firestore emulator.

Is this something that can be achieved with the Functions Framework, and if so, how does it need to be set up?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.