5 ms·
I wonder if they looked at Cue [1], a data language that I think hits the sweet spot between readability and power. Cue is a spiritual successor to Google's Js
by atombender 6y ago
I wonder if they looked at Cue [1], a data language that I think hits the sweet spot between readability and power.
Cue is a spiritual successor to Google's Jsonnet, but corrects the latter's design mistakes. Cue is quite simple, but also extremely readable. It looks ideal for the sort of data-level validations that Polaris wants to do, without having to express a DSL in YAML (which should be an antipattern by now) to do it.
[1] https://cuelang.org/docs/tutorials/tour/intro/ https://cuelang.org/docs/tutorials/tour/intro/
- sandGorgon 6y agoHere's a much nicer explanation by the author. https://github.com/cuelang/cue/issues/33 https://github.com/cuelang/cue/issues/33
- bbrennan 6y agoCue looks very cool! We hadn't heard of it when implementing custom checks, but looks like it would have been a contender