top | item 37786838

ASCII protocol buffers as config files

2 points| smarx | 2 years ago |rachelbythebay.com

2 comments

order

lopkeny12ko|2 years ago

I've been using this pattern recently for a few projects for strong config typing. A nice property is that the protos define only the schema, and can technically be used with any config delivery format. This article uses prototext but you could easily use JSON, or any other language that "compiles down" to JSON (like YAML).