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

Use HasOnly for property validation #12

Closed rockwotj closed 6 years ago

rockwotj commented 6 years ago

Currently we use a nasty explosion of properties, which can be much simpler with the new .hasOnly function for list types.