GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs

Documentation on how to use with Firebase Firestore emulators

未关闭
#583 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P3 question
主要语言
TypeScript
星标
1.4k
派生
181
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

调研方向

首先检查 repository 中现有的关于 Functions Framework 和 Firestore Firebase emulator 的指导,重点了解 Firestore write 如何到达 function entry point。完成的标准是记录此设置是否受支持;如果受支持,还要说明所需的配置和本地 trigger workflow。

由索引模型根据 Issue 内容生成。

评估

技术栈
firebase, node.js, typescript
领域
cloud, databases, documentation
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。