Better HN
topnewbestaskshowjobs
Log inSign up

snassr

1 karma · joined Nov 19, 2020 (6y ago) · 1 submissions

Submissions

comment 5y ago · link · parent

We are trying an interesting use-case at Overseed (https://www.overseed.io/). We recently replaced JSON with CUE as our data configuration language. To summarize, our application allows users to describe their fake data's attributes and behavior and then output that data as a file or stream API.

At the moment, we mainly use CUE for the structure, variables, and validation. It replaced our custom JSON and validation logic and cleaned up a lot of our code! We are still exploring moving more of our specifications to CUE style configuration and validation.

We are still early-stage users (a few weeks). So far, we love the concise syntax, strong typing, and validation. I plan to spend some time this week checking out the querying, scripting, and external tools.

I liked this tutorial site for those who are starting out: https://cuetorials.com/