You are correct. Data validation rules would be useful in our scenerio. But for a number of collections maintaining the rules separately from console was another big task itself.

As I mentioned we moved heavily to firebase function to maintain the data sanity but that doesn't solve the main problem. It was like maintaining another api server itself.

Software Engineer | https://www.mohammadfaisal.dev/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store