3 ms·
I like to constrain myself to OPA/Rego if what I’m doing can be modeled in JSON easily. I like the idea that the entire pipeline is “JSON in, parse it, JSON out
by pirates 11mo ago
I like to constrain myself to OPA/Rego if what I’m doing can be modeled in JSON easily. I like the idea that the entire pipeline is “JSON in, parse it, JSON out”. Probably most people would have heard of it or worked with it adjacent to Kubernetes, but I’ve used it for determining scores for a soccer fantasy league I run, and I have a work in progress Pokémon gen 1 battle engine about half done with it. The constraint of “all the rules eval at once” is particularly challenging sometimes.