Remix.run Logo
squirrellous 2 days ago

We use protobuf as schemas for json config. Protobuf has builtin json support and works across languages. It’s great for multi-language projects.

fireflash38 2 days ago | parent [-]

This is what I have been debating using for a project at work. You can also nest messages within other messages easily with protobuf so you can aggregate/deaggregate configs as you want. Combined with protobuf validation plugins for your Lang and you get a rather neat package.

squirrellous 2 days ago | parent [-]

As usual the real struggle is getting everyone to agree on a configuration language :-)