FirebaseExtended / protobuf-rules-gen

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.
Apache License 2.0
197 stars 13 forks source link

Are binary protos supported? #27

Closed oferb closed 5 years ago

oferb commented 5 years ago

Protos can be stored in binary format, which helps with backwards compatibility across renames. Does protobuf-rules-gen support the binary proto format?

rockwotj commented 5 years ago

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.