This is an experimental protoc plugin that generates Firebase Rules for Cloud Firestore based on Google's Protocol Buffer format. This allows you to easily validate your data in a platform independent manner.
Protos can be stored in binary format, which helps with backwards compatibility across renames.
Does protobuf-rules-gen support the binary proto format?
No, this generates schema validation based on the json form of the protobuf, firestore itself will need to directly support proto schemas to allow for this kind of behavior.
Protos can be stored in binary format, which helps with backwards compatibility across renames. Does protobuf-rules-gen support the binary proto format?