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. (by FirebaseExtended)

Protobuf-rules-gen Alternatives

Similar projects and alternatives to protobuf-rules-gen

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better protobuf-rules-gen alternative or higher similarity.

protobuf-rules-gen reviews and mentions

Posts with mentions or reviews of protobuf-rules-gen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-10.
  • Supabase (YC S20) raises $80M Series B
    8 projects | news.ycombinator.com | 10 May 2022
    A long time ago, I was the PM on Firestore security rules, which was intended to solve both of those issues.

    https://github.com/FirebaseExtended/protobuf-rules-gen was the closest we got: declaring types as protobufs (because Google, of course) and then generating both security rules to guarantee validity as well as client types that would match. I wanted to add proto annotations to do additional validity (e.g. add a regex to validate the phone number string was correct, do length checks on strings, etc.).

    The short answer is that backend rules engines, either in their own DSL or bolted on to e.g. SQL, are pretty tough to get right, and have a super steep learning curve. IMO, AWS API Gateway with Lambda Authorizers get this most correct.

Stats

Basic protobuf-rules-gen repo stats
2
194
0.0
over 2 years ago

FirebaseExtended/protobuf-rules-gen is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of protobuf-rules-gen is C++.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com