标签: firebase google-cloud-functions google-cloud-firestore
运行:
firebase experimental:functions:shell
当我尝试这样调用我的函数时:
sendEmail('data', {params: 'commentId:12'})
我明白了:
Info: Function crashed TypeError: Cannot use 'in' operator to search for 'exists' in data
如何在Firestore触发的云功能上启动新的onWrite
Firestore
答案 0 :(得分:10)
使用Firebase CLI的3.15.1版本,您现在可以run Firestore functions locally。