是否有适用于Firestore安全规则的模拟器? [英] Is there a simulator for Firestore security rules?
问题描述
我正在寻找一种有效测试新规则集的方法.在决定从实时数据库切换到Firestore之前,我想先测试一下规则.请提供解决方案或指出是否有任何正在进行中的项目.
I'm looking for a way to test the new rule set efficiently. I'd like to test the rules before I make the decision to switch over to Firestore from the Realtime Database. Please provide a solution or indicate if there are any works-in-progress.
推荐答案
2018-05-26更新
现在, Firebase控制台中内置了Firestore安全规则模拟器.
There now is simulator for Firestore security rules built right into the Firebase console.
上一个答案:
firebaser here
当前没有用于Firestore安全规则的模拟器.据我所知,作品仍在创作中,但与往常一样:没有承诺,也没有发行日期.
There currently is no simulator for the Firestore security rules. As far as I know one is in the works, but as usual: no promises and no release dates.
这篇关于是否有适用于Firestore安全规则的模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!